diff options
Diffstat (limited to 'gtk/testgtk.c')
-rw-r--r-- | gtk/testgtk.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/gtk/testgtk.c b/gtk/testgtk.c index c5c460d53..df318a0fe 100644 --- a/gtk/testgtk.c +++ b/gtk/testgtk.c @@ -969,23 +969,6 @@ statusbar_contexts (GtkStatusbar *statusbar) } static void -statusbar_dump_stack (GtkStatusbar *statusbar) -{ - GSList *list; - - for (list = statusbar->messages; list; list = list->next) - { - GtkStatusbarMsg *msg; - - msg = list->data; - g_print ("context_id: %d, message_id: %d, status_text: \"%s\"\n", - msg->context_id, - msg->message_id, - msg->text); - } -} - -static void create_statusbar (void) { static GtkWidget *window = NULL; @@ -1048,15 +1031,6 @@ create_statusbar (void) NULL); button = gtk_widget_new (gtk_button_get_type (), - "label", "dump stack", - "visible", TRUE, - "parent", box2, - NULL); - g_object_set (G_OBJECT (button), - "swapped_signal::clicked", statusbar_dump_stack, statusbar, - NULL); - - button = gtk_widget_new (gtk_button_get_type (), "label", "test contexts", "visible", TRUE, "parent", box2, |