Thanks, code looks good. However when I run it on my box I get:
sudo ./software-properties-gtk
** (software-properties-gtk:17374): WARNING **: Out argument 0 in get_cursor returns a struct with a transfer mode of "full". Transfer mode should be set to "none" for struct type returns as there is no way to free them safely. Ignoring transfer mode to prevent a potential invalid free. This may cause a leak in your application.
Thanks, code looks good. However when I run it on my box I get: properties- gtk
sudo ./software-
** (software- properties- gtk:17374) : WARNING **: Out argument 0 in get_cursor returns a struct with a transfer mode of "full". Transfer mode should be set to "none" for struct type returns as there is no way to free them safely. Ignoring transfer mode to prevent a potential invalid free. This may cause a leak in your application.
I guess that is ok for now?