Beispiel #1
0
// GetApplicationID is a wrapper around g_application_get_application_id().
func (v *Application) GetApplicationID() string {
	c := C.g_application_get_application_id(v.native())

	return C.GoString((*C.char)(c))
}
Beispiel #2
0
//Gets the unique identifier for application .
func (v *Application) GetApplicationId() string {
	cstr := (*C.char)(C.g_application_get_application_id(v.native()))
	defer C.free(unsafe.Pointer(cstr))
	return C.GoString(cstr)
}