[Glade-devel] Commit -- fix selection
- From: pborelli katamail com (paolo borelli)
- Subject: [Glade-devel] Commit -- fix selection
- Date: 20 Jun 2003 15:11:40 +0200
Wonderful! Seems to work great.
I had to comment out the log_handler part of your patch though, because
I've got the following compile error:
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..
-I/opt/gnome-cvs/include/gtk-2.0 -I/opt/gnome-cvs/lib/gtk-2.0/include
-I/opt/gnome-cvs/include/atk-1.0 -I/opt/gnome-cvs/include/pango-1.0
-I/opt/gnome-cvs/include -I/usr/include/freetype2 -I/usr/X11R6/include
-I/opt/gnome-cvs/include/glib-2.0 -I/opt/gnome-cvs/lib/glib-2.0/include
-I/opt/gnome-cvs/include/libxml2
-DGLADE_LIBDIR=\""/opt/gnome-cvs/lib"\"
-DGLADE_DATADIR=\""/opt/gnome-cvs/share"\"
-DGLADE_BINDIR=\""/opt/gnome-cvs/bin"\"
-DGLADE_LOCALSTATEDIR=\""/opt/gnome-cvs/var"\"
-DGLADE_LOCALEDIR=\""/opt/gnome-cvs/share/locale"\"
-DG_LOG_DOMAIN=\"Glade\" -g -O2 -Wall -c main.c
main.c: In function `log_handler':
main.c:89: warning: implicit declaration of function `RETSIGTYPE'
main.c:89: `saved_handler' undeclared (first use in this function)
main.c:89: (Each undeclared identifier is reported only once
main.c:89: for each function it appears in.)
main.c:89: parse error before "int"
make[3]: *** [main.o] Error 1
make[3]: Leaving directory `/home/paolo/cvs/gnome2/glade3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/paolo/cvs/gnome2/glade3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paolo/cvs/gnome2/glade3'
make: *** [all-recursive-am] Error 2
[paolo@flatlandia glade3]$
Can you see what's wrong? (If you touch that code, could you also fix the
indentation of that function to use tabs?)
I also noticed that you left these two functions which probably can be
deleted after your work on the selection.
glade-placeholder.c:165: warning: `glade_placeholder_get_gdk_window'
defined but not used
glade-widget.c:1032: warning: `glade_widget_clear_draw_selection'
defined but not used
ciao
paolo
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]