diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-04 23:18:26 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-06-04 23:18:26 +0800 |
commit | cb3f09f50537a6cac40a2e1a5d30e045ad426a20 (patch) | |
tree | c449996eb8f140ee0c11c57735be61b191f34647 | |
parent | 018cfa176218b8f75b376ada4bf8c43012fb9627 (diff) | |
download | gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.tar gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.tar.gz gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.tar.bz2 gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.tar.lz gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.tar.xz gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.tar.zst gsoc2013-empathy-cb3f09f50537a6cac40a2e1a5d30e045ad426a20.zip |
Add level label to priv struct.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | src/empathy-debug-dialog.c | 9 |
1 files 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); |