gtkmm r1096 - in trunk: . demos/gtk-demo



Author: daniel
Date: Tue Feb 17 18:56:25 2009
New Revision: 1096
URL: http://svn.gnome.org/viewvc/gtkmm?rev=1096&view=rev

Log:
* demos/gtk-demo/example_appwindow.cc: Cut a load of commented-out
bit-rot which wouldn't have compiled anyway.  The use of deprecated
GTK+ calls in the comment triggered a code maintenance tool used by
Andrà Klapper.


Modified:
   trunk/ChangeLog
   trunk/demos/gtk-demo/example_appwindow.cc

Modified: trunk/demos/gtk-demo/example_appwindow.cc
==============================================================================
--- trunk/demos/gtk-demo/example_appwindow.cc	(original)
+++ trunk/demos/gtk-demo/example_appwindow.cc	Tue Feb 17 18:56:25 2009
@@ -107,36 +107,6 @@
                    0, 1,                   1, 2,
                    Gtk::FILL|Gtk::EXPAND, Gtk::AttachOptions(0)
                    );
-
-    /* Create the toolbar
-     */
-
-//    gtk_toolbar_insert_stock (Gtk::TOOLBAR (toolbar),
-//                              Gtk::Stock::OPEN,
-//                              "This is a demo button with an 'open' icon",
-//                              NULL,
-//                              G_CALLBACK (toolbar_cb),
-//                              window, /* user data for callback */
-//                              -1);  /* -1 means "append" */
-//
-//    gtk_toolbar_insert_stock (Gtk::TOOLBAR (toolbar),
-//                              Gtk::Stock::QUIT,
-//                              "This is a demo button with a 'quit' icon",
-//                              NULL,
-//                              G_CALLBACK (toolbar_cb),
-//                              window, /* user data for callback */
-//                              -1);  /* -1 means "append" */
-//
-//    gtk_toolbar_append_space (Gtk::TOOLBAR (toolbar));
-//
-//    gtk_toolbar_insert_stock (Gtk::TOOLBAR (toolbar),
-//                              "demo-gtk-logo",
-//                              "This is a demo button with a 'gtk' icon",
-//                              NULL,
-//                              G_CALLBACK (toolbar_cb),
-//                              window, /* user data for callback */
-//                              -1);  /* -1 means "append" */
-
   }
 
 



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