From cb3f09f50537a6cac40a2e1a5d30e045ad426a20 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Thu, 4 Jun 2009 16:18:26 +0100 Subject: Add level label to priv struct. Signed-off-by: Jonny Lamb --- src/empathy-debug-dialog.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c index 93edfc740..2bf45aa95 100644 --- a/src/empathy-debug-dialog.c +++ b/src/empathy-debug-dialog.c @@ -75,6 +75,7 @@ typedef struct GtkToolItem *copy_button; GtkToolItem *clear_button; GtkToolItem *pause_button; + GtkToolItem *level_label; GtkWidget *level_filter; /* TreeView */ @@ -982,12 +983,12 @@ debug_dialog_constructor (GType type, gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1); /* Level */ - item = gtk_tool_item_new (); - gtk_widget_show (GTK_WIDGET (item)); + priv->level_label = gtk_tool_item_new (); + gtk_widget_show (GTK_WIDGET (priv->level_label)); label = gtk_label_new (_("Level ")); gtk_widget_show (label); - gtk_container_add (GTK_CONTAINER (item), label); - gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1); + gtk_container_add (GTK_CONTAINER (priv->level_label), label); + gtk_toolbar_insert (GTK_TOOLBAR (toolbar), priv->level_label, -1); priv->level_filter = gtk_combo_box_new_text (); gtk_widget_show (priv->level_filter); -- cgit v1.2.3