aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/empathy-debug-dialog.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index c5d6dadea..754d9bc11 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -285,6 +285,7 @@ debug_dialog_constructor (GType type,
GtkWidget *vbox;
GtkWidget *toolbar;
GtkWidget *image;
+ GtkWidget *label;
GtkToolItem *item;
GtkCellRenderer *renderer;
GtkWidget *scrolled_win;
@@ -310,7 +311,9 @@ debug_dialog_constructor (GType type,
/* Account */
item = gtk_tool_item_new ();
gtk_widget_show (GTK_WIDGET (item));
- gtk_container_add (GTK_CONTAINER (item), gtk_label_new (_("Account ")));
+ label = gtk_label_new (_("Account "));
+ gtk_widget_show (label);
+ gtk_container_add (GTK_CONTAINER (item), label);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
priv->account_chooser = empathy_account_chooser_new ();
@@ -366,7 +369,9 @@ debug_dialog_constructor (GType type,
/* Level */
item = gtk_tool_item_new ();
gtk_widget_show (GTK_WIDGET (item));
- gtk_container_add (GTK_CONTAINER (item), gtk_label_new (_("Level ")));
+ label = gtk_label_new (_("Level "));
+ gtk_widget_show (label);
+ gtk_container_add (GTK_CONTAINER (item), label);
gtk_toolbar_insert (GTK_TOOLBAR (toolbar), item, -1);
priv->filter = gtk_combo_box_new_text ();