gtkmm r1096 - in trunk: . demos/gtk-demo
- From: daniel svn gnome org
- To: svn-commits-list gnome org
- Subject: gtkmm r1096 - in trunk: . demos/gtk-demo
- Date: Tue, 17 Feb 2009 18:56:26 +0000 (UTC)
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]