changeset 20328:dc7f87da7e95

applied changes from 2495a1b6a3619d8188151eaf2822ce2ecd435dbf through e56db1b8a7bb8729e30fb3bf99a94ff7887fe4ec
author Luke Schierer <lschiere@pidgin.im>
date Fri, 19 Oct 2007 18:10:30 +0000
parents 01043a291e3b
children 24ce4fcce5b0
files finch/libgnt/gntwm.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);