changeset 5158:67a72f9fede8

[gaim-migrate @ 5522] More less evil. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 18 Apr 2003 01:49:32 +0000
parents b055ed64871f
children 6b845e0cea87
files src/gtkpounce.c
diffstat 1 files changed, 0 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkpounce.c	Fri Apr 18 01:48:03 2003 +0000
+++ b/src/gtkpounce.c	Fri Apr 18 01:49:32 2003 +0000
@@ -726,18 +726,13 @@
 static void
 fill_menu(GtkWidget *menu, GCallback cb)
 {
-	GtkWidget *box;
-	GtkWidget *label;
 	GtkWidget *image;
 	GtkWidget *item;
 	GdkPixbuf *pixbuf, *scale;
 	struct gaim_pounce *pounce;
 	const char *buddy;
-	GtkSizeGroup *sg;
 	GList *bp;
 
-	sg = gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL);
-
 	for (bp = gaim_get_pounces(); bp != NULL; bp = bp->next) {
 		pounce = (struct gaim_pounce *)bp->data;
 		buddy = gaim_pounce_get_pouncee(pounce);
@@ -752,8 +747,6 @@
 		else
 			image = gtk_image_new_from_pixbuf(scale);
 
-		gtk_size_group_add_widget(sg, image);
-
 		g_object_unref(G_OBJECT(scale));
 		g_object_unref(G_OBJECT(pixbuf));
 
@@ -766,8 +759,6 @@
 		/* Set our callbacks. */
 		g_signal_connect(G_OBJECT(item), "activate", cb, pounce);
 	}
-
-	g_object_unref(sg);
 }
 
 void