gtk_statusbar_remove_all() not found in GTK 2.0/Ubuntu 10.04 LTS

Bug #817998 reported by Lubos Medovarsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
GNOME Automate
New
Undecided
Unassigned

Bug Description

By using libappindicator, make gives:
status_icon.h:24:43: error: libappindicator/app-indicator.h: No such file or directory

make CFLAGS="-I/usr/include/libappindicator-0.1" LDFLAGS="-lappindicator"
...
gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/local/share/gnome-automate"\" -pthread -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/gio-unix-2.0/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/gstreamer-0.10 -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/unique-1.0 -Wall -g -I/usr/include/libappindicator-0.1 -I/usr/include/gtk-2.0 -MT status_icon.o -MD -MP -MF .deps/status_icon.Tpo -c -o status_icon.o status_icon.c
status_icon.c: In function ‘change_birthday_status’:
status_icon.c:274: warning: implicit declaration of function ‘gtk_statusbar_remove_all’ # function doesn't exist in GTK 2.0
...
/bin/bash ../libtool --tag=CC --mode=link gcc -Wall -g -I/usr/include/libappindicator-0.1 -I/usr/include/gtk-2.0 -export-dynamic -lappindicator -o gnome-automate main.o configuration.o main_list.o main_window.o modify_alarm.o common.o status_icon.o alarm_thread.o alarm_runner.o date.o templates.o counters.o preferences.o schedule.o export.o -pthread -L/lib -lgstreamer-0.10 -lxml2 -lnotify -ldbus-glib-1 -ldbus-1 -lpthread -lunique-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
libtool: link: gcc -Wall -g -I/usr/include/libappindicator-0.1 -I/usr/include/gtk-2.0 -o gnome-automate main.o configuration.o main_list.o main_window.o modify_alarm.o common.o status_icon.o alarm_thread.o alarm_runner.o date.o templates.o counters.o preferences.o schedule.o export.o -pthread -Wl,--export-dynamic -lappindicator -L/lib /usr/lib/libgstreamer-0.10.so /usr/lib/libxml2.so /usr/lib/libnotify.so -ldbus-glib-1 -ldbus-1 -lpthread -lunique-1.0 /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgio-2.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libgdk_pixbuf-2.0.so -lm /usr/lib/libpangocairo-1.0.so /usr/lib/libcairo.so /usr/lib/libpango-1.0.so /usr/lib/libfreetype.so -lfontconfig /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so /usr/lib/libgthread-2.0.so -lrt /usr/lib/libglib-2.0.so -pthread
status_icon.o: In function `change_birthday_status':
/home/lubos/workspace/gnome-automate-1.4.90/src/status_icon.c:274: undefined reference to `gtk_statusbar_remove_all'
/home/lubos/workspace/gnome-automate-1.4.90/src/status_icon.c:282: undefined reference to `gtk_statusbar_remove_all'
collect2: ld returned 1 exit status
make[2]: *** [gnome-automate] Error 1
make[2]: Leaving directory `/home/lubos/workspace/gnome-automate-1.4.90/src'
...

Additionally, ./configure --disable-libappindicator doesn't work.

Ideas?

Tags: 10.04 gtk-2.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.