GNOME Bugzilla – Bug 652192
gtk3 support
Last modified: 2017-12-02 21:55:12 UTC
With the release of gnome-bluetooth 3.0, gnome-phone-manager no longer works, as it links both gtk2 and gtk3 symbols into one application. For this, gnome-phone-manager should get ported to GTK3. I've done some initial work on it, patching it is trivial: - remove gtkspell from configure.ac - change gtk+-2.0 to gtk+-3.0 in configure.ac - Remove the gtkspell include and the block that iniaitlizes gtkspell from src/ui.c Doing this is fairly simple and generates a short patch. Is this what we want, or do we want to support older versions? In that case, I would suggest making gtkspell support optional and add a conditional for gtk2/3 selection.
If you have patach ready please submit it, but you also need to replace libcanberra-gtk with libcanberra-gtk3. We can support older versions by creating a gnome-2-32 branch but development will be only on the gtk+3 version in HEAD. The gtk+3 symbols are pulled by the GNOME Bluetooth dependency so this could be the condition for gtk2/3 selection but I don't think it's worth the trouble.
Created attachment 191046 [details] [review] Port to gtk3
Comment on attachment 191046 [details] [review] Port to gtk3 Reformatted commit message
Created attachment 364836 [details] [review] ui: require gtk3 Require gtk3 for ui too.