Re: gnome panel applet won't compile



On Tue, 2014-07-29 at 22:23 +0800, Bileg Battumu wrote:
Compile command: (copied off of some guys post)
---------------------------

g++ -Wall -DGTK_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE 
`pkg-config --cflags --libs gtk+-3.0 libpanelapplet-4.0` *.cpp -o helloworld


Error message:
--------------------------
/usr/include/gnome-panel-4.0/libpanel-applet/panel-applet.h:169:13: error: ‘GtkActionGroup’ has not been 
declared
             GtkActionGroup     *action_group);


GtkActionGroup is deprecated, and you're disabling it with
-DGTK_DISABLE_DEPRECATED.  If it's disabled it won't build.

Matthew Barnes




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]