[Pkg-privacy-commits] [pidgin-otr] 159/255: Remove redundant gtk_box_pack_start()s
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:51:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch experimental
in repository pidgin-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-privacy/packages/pidgin-otr.git
More information about the Pkg-privacy-commits
mailing list