Mercurial > pidgin
diff finch/libgnt/gntwm.c @ 20892:bbcc9e206c43
propagate from branch 'im.pidgin.pidgin' (head f33ba0034c79d8e37a70d664ec534356fa361608)
to branch 'im.pidgin.cpw.resiak.disconnectreason' (head b3c8182bd741b961775afed0768fbecdc47dc828)
author | Will Thompson <will.thompson@collabora.co.uk> |
---|---|
date | Fri, 12 Oct 2007 00:19:12 +0000 |
parents | 9e51721a23c7 |
children | e119edfc0fb0 b1fa7765ca4b |
line wrap: on
line diff
--- a/finch/libgnt/gntwm.c Thu Oct 11 23:55:13 2007 +0000 +++ b/finch/libgnt/gntwm.c Fri Oct 12 00:19:12 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);