Mercurial > pidgin.yaz
comparison pidgin/plugins/win32/transparency/win2ktrans.c @ 20321:589b517bfe1b
applied changes from 1bdf4754abed6b49eec400ecf415a9d557bc9834
through f58e560be58adb833d16bf34274e26bcf5ded1cd
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Fri, 19 Oct 2007 17:42:59 +0000 |
parents | 084c10ed4083 |
children | 3cc856ca2338 |
comparison
equal
deleted
inserted
replaced
20320:6a128c9bd170 | 20321:589b517bfe1b |
---|---|
227 | 227 |
228 static void | 228 static void |
229 conversation_delete_cb(PurpleConversation *conv) { | 229 conversation_delete_cb(PurpleConversation *conv) { |
230 PidginWindow *win = pidgin_conv_get_window(PIDGIN_CONVERSATION(conv)); | 230 PidginWindow *win = pidgin_conv_get_window(PIDGIN_CONVERSATION(conv)); |
231 /* If it is the last conversation in the window, cleanup */ | 231 /* If it is the last conversation in the window, cleanup */ |
232 if (pidgin_conv_window_get_gtkconv_count(win) == 1) | 232 if (win != NULL && pidgin_conv_window_get_gtkconv_count(win) == 1) |
233 cleanup_conv_window(win); | 233 cleanup_conv_window(win); |
234 } | 234 } |
235 | 235 |
236 static void set_blist_trans(GtkWidget *w, const char *pref) { | 236 static void set_blist_trans(GtkWidget *w, const char *pref) { |
237 gboolean enabled = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)); | 237 gboolean enabled = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(w)); |