im.pidgin.pidgin: 521d648043f975e8b79393043d0a0840b8f722c4

datallah at pidgin.im datallah at pidgin.im
Mon Oct 29 22:40:34 EDT 2007


-----------------------------------------------------------------
Revision: 521d648043f975e8b79393043d0a0840b8f722c4
Ancestor: 2c4268ead97dc703bd2c043897a0e92d0f9267aa
Author: datallah at pidgin.im
Date: 2007-10-30T02:31:51
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkconv.c pidgin/gtkconv.h

ChangeLog: 

Fix a leak of an unused GtkSizeGroup and deprecate the unused variable.

-------------- next part --------------
============================================================
--- pidgin/gtkconv.c	79419f9d9a90c3efa3933b3cb79a22d2265d822e
+++ pidgin/gtkconv.c	41358b82db64e0fbf9b8f5d21768c9be50e3ecdc
@@ -5040,7 +5040,6 @@ private_gtkconv_new(PurpleConversation *
 	gtkconv->send_history = g_list_append(NULL, NULL);
 
 	/* Setup some initial variables. */
-	gtkconv->sg       = gtk_size_group_new(GTK_SIZE_GROUP_BOTH);
 	gtkconv->tooltips = gtk_tooltips_new();
 	gtkconv->unseen_state = PIDGIN_UNSEEN_NONE;
 	gtkconv->unseen_count = 0;
============================================================
--- pidgin/gtkconv.h	76eda863e1366a6f483af4ea5ca0a104f41c4d82
+++ pidgin/gtkconv.h	3e90f211a964455e40f6d07b30fe0fc9a03ae36d
@@ -143,7 +143,12 @@ struct _PidginConversation
 	GtkWidget *tab_label;
 	GtkWidget *menu_icon;
 	GtkWidget *menu_label;
+#ifndef PIDGIN_DISABLE_DEPRECATED
+	/** @deprecated */
 	GtkSizeGroup *sg;
+#else
+	gpointer depr1;
+#endif
 
 	GtkWidget *lower_hbox;
 


More information about the Commits mailing list