applied changes from 2495a1b6a3619d8188151eaf2822ce2ecd435dbf release-2.2.2

Fri, 19 Oct 2007 18:10:30 +0000

author
Luke Schierer <lschiere@pidgin.im>
date
Fri, 19 Oct 2007 18:10:30 +0000
branch
release-2.2.2
changeset 20220
6d7683248222
parent 20219
62a09395042e
child 20221
28e31ee832cd

applied changes from 2495a1b6a3619d8188151eaf2822ce2ecd435dbf
through e56db1b8a7bb8729e30fb3bf99a94ff7887fe4ec

finch/libgnt/gntwm.c file | annotate | diff | comparison | revisions
--- a/finch/libgnt/gntwm.c	Fri Oct 19 18:09:17 2007 +0000
+++ b/finch/libgnt/gntwm.c	Fri Oct 19 18:10:30 2007 +0000
@@ -1717,12 +1717,11 @@
 void gnt_wm_window_close(GntWM *wm, GntWidget *widget)
 {
 	GntWS *s;
-	GntNode *node;
 	int pos;
 
 	s = gnt_wm_widget_find_workspace(wm, widget);
 
-	if ((node = g_hash_table_lookup(wm->nodes, widget)) == NULL)
+	if (g_hash_table_lookup(wm->nodes, widget) == NULL)
 		return;
 
 	g_signal_emit(wm, signals[SIG_CLOSE_WIN], 0, widget);

mercurial