[pkg-otr-team] [irssi-plugin-otr] 159/167: Remove redundant gtk_box_pack_start()s
Holger Levsen
holger at moszumanska.debian.org
Mon Mar 3 21:55:41 UTC 2014
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to tag 4.0.0
in repository irssi-plugin-otr.
commit f3718ed619bab091c5fcfa282f3d02af1b546f1f
Author: Ian Goldberg <iang at cs.uwaterloo.ca>
Date: Thu Aug 23 11:35:54 2012 -0400
Remove redundant gtk_box_pack_start()s
We had some calls to gtk_box_pack_start() that were trying to pack
already-packed widgets, yielding:
Gtk: gtk_box_pack: assertion `child->parent == NULL' failed
---
gtk-dialog.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/gtk-dialog.c b/gtk-dialog.c
index 85d7223..fba4337 100644
--- a/gtk-dialog.c
+++ b/gtk-dialog.c
@@ -543,8 +543,6 @@ static void add_to_vbox_init_one_way_auth(GtkWidget *vbox,
}
- gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
-
/* Leave a blank line */
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new(NULL), FALSE,
FALSE, 0);
@@ -569,7 +567,6 @@ static void add_to_vbox_init_one_way_auth(GtkWidget *vbox,
gtk_entry_set_activates_default(GTK_ENTRY(entry), smppair->responder);
gtk_box_pack_start(GTK_BOX(vbox), entry, FALSE, FALSE, 0);
- gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
/* Leave a blank line */
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new(NULL), FALSE,
@@ -627,7 +624,6 @@ static void add_to_vbox_init_two_way_auth(GtkWidget *vbox,
}
gtk_box_pack_start(GTK_BOX(vbox), entry, FALSE, FALSE, 0);
- gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0);
/* Leave a blank line */
gtk_box_pack_start(GTK_BOX(vbox), gtk_label_new(NULL), FALSE,
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-otr/packages/irssi-plugin-otr.git
More information about the Pkg-otr-team
mailing list