patch: gtkmm: current cvs version with gtk-1.0.5



Hi Tero (or whoever else feels right to do this)

here is an patch to enable compilation of the current gtkmm snapshot
with gtk-1.0

Regards
   Christof

--- gnome-cvs/gtk--/src/container.gen_h	Thu Sep  3 10:00:05 1998
+++ gnome/gtk--/src/container.gen_h	Thu Sep  3 09:59:48 1998
@@ -458,9 +458,11 @@
 {
   connect_to_method(add, this, &add_callback);
   connect_to_method(remove, this, &remove_callback);
+#ifgtk >= 1.1
   connect_to_method(set_focus_child, this, &set_focus_child_callback);
   connect_to_method(set_child_arg, this, &set_child_arg_callback);
   connect_to_method(get_child_arg, this, &get_child_arg_callback);
+#endifgtk
 }
 
 Gtk_Container::Gtk_Container(GtkContainer *castitem)
@@ -481,9 +483,11 @@
 {  
   connect_to_method(add, this, &add_callback);
   connect_to_method(remove, this, &remove_callback);
+#ifgtk >= 1.1
   connect_to_method(set_focus_child, this, &set_focus_child_callback);
   connect_to_method(set_child_arg, this, &set_child_arg_callback);
   connect_to_method(get_child_arg, this, &get_child_arg_callback);
+#endifgtk
 }
 
 bool


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