Port xfce4-timer-plugin to gtk3
dani at damufo.com
Sun Apr 30 12:17:56 CEST 2017
I rename subject
On 29/04/17 21:43, Matthew Brush wrote:
> On 2017-04-29 03:24 AM, Dani wrote:
>> Another thing
>> When I execute ./autogen.sh
>> The file, makefile, on line 266 (Refers to gtk2)
>> LIBXFCE4PANEL_CFLAGS = -pthread -I/usr/include/xfce4/libxfce4panel-1.0
>> -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include
>> -I/usr/include/gio-unix-2.0/ -I/usr/include/cairo
>> -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo
>> -I/usr/include/pixman-1 -I/usr/include/libpng12
>> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12
>> -I/usr/include/pango-1.0 -I/usr/include/harfbuzz
>> -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/xfce4
>> -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
>> Is this correct?
> No, you need to make sure libxfce4panel is building against GTK+3 as
> well. It looks like the git master branch does by default, but I'm not
> sure if that's what you're building against.
Sorry, at this point I do not know what to do.
I searched in master xfce git and did not find the libxfce4 in gtk3
Can you tell me where to go/continue?
>> xfce4_timer-xfcetimer.o: In function `plugin_create_options':
>> undefined reference to `gtk_button_box_new'
> That's your error right there. As you said above, it's building
> against GTK+2 still, but `gtk_button_box_new` is only available since
> GTK+ 3.0. This should go away once you get all your dependencies also
> building against GTK+ 3.
My goal is port to gtk3.
> Matthew Brush
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
More information about the Xfce4-dev