gtk_file_selection bug under gtk+970915?




I have some code that ran OK under an old version of gtk+ (the version
that came with gimp-0.99.10)- when I now compile it using gtk+970915 I
get the following errors when I show the file selection widget:

** WARNING **: could not find signal type "clicked" in the "GtkLabel" class ancestry

** WARNING **: could not find signal type "clicked" in the "GtkLabel" class ancestry

** WARNING **: could not find signal type "clicked" in the "GtkVBox" class ancestry

The signal "clicked" works OK for buttons that I have defined myself,
by the way. Does anyone know why this is happening?


Here is the code fragment that I use to do it:
  --------
GtkWidget *filew;
filew = gtk_file_selection_new ("View Population File");
  
gtk_signal_connect (GTK_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),
		      "clicked", (GtkSignalFunc) view_pop, filew );
           
gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION (filew)->ok_button),
   "clicked", (GtkSignalFunc) gtk_widget_destroy ,
		      GTK_OBJECT (filew) ); 

gtk_signal_connect_object (GTK_OBJECT (GTK_FILE_SELECTION
	(filew)->cancel_button), "clicked", (GtkSignalFunc) gtk_widget_destroy,
			     GTK_OBJECT (filew)); 
gtk_widget_show(filew);
 --------


Thanks
Steve
--
stephend@cogs.susx.ac.uk
 



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