Mercurial > pidgin
diff finch/libgnt/gntwm.c @ 20328:dc7f87da7e95
applied changes from 2495a1b6a3619d8188151eaf2822ce2ecd435dbf
through e56db1b8a7bb8729e30fb3bf99a94ff7887fe4ec
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 19 Oct 2007 18:10:30 +0000 |
parents | 9b2376dde204 |
children | e119edfc0fb0 b1fa7765ca4b |
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);