gnome-libs-0.30.1 errors (too many args to gtk_object_args_collect)




     I ran into some problems makeing gnome-libs-0.30.1
out-of-the-box. Sorry if this has been covered somewhere on this list, 
I was unable to find any references to it ...


Here are the errors I'm seeing:

| gnome-canvas.c: In function `gnome_canvas_item_construct':
| gnome-canvas.c:218: warning: passing arg 4 of `gtk_object_args_collect' discards `const' from pointer target type
| gnome-canvas.c:218: too many arguments to function `gtk_object_args_collect'
| gnome-canvas.c: In function `gnome_canvas_item_set_valist':
| gnome-canvas.c:361: warning: passing arg 4 of `gtk_object_args_collect' discards `const' from pointer target type
| gnome-canvas.c:361: too many arguments to function `gtk_object_args_collect'
| gnome-canvas.c: In function `gnome_canvas_item_reparent':
| gnome-canvas.c:665: warning: unused variable `old_parent'


Here's how gtk_object_args_collect is defined in gtkobject.h:

| gchar*  gtk_object_args_collect (GtkType      object_type,
| 				   GSList     **arg_list_p,
| 				   GSList     **info_list_p,
| 				   gpointer     var_args_p);


and here's what version gtk11-config thinks I have:

| > gtk11-config --version
| 1.1.1

Is it possible that gnome-libs-0.30.1 isn't meant to work with gtk
1.1.1, should I be using something less-than 1.1.1? If not then do I
really have 1.1.1 here? Does anybody know otherwise based on what that 
header file definition looks like?

Help much appreciated,

-- Mishka



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