pidgin/plugins/extplacement.c

changeset 35689
1e257009ac10
parent 35610
24b06c5e7760
child 37133
832cd077145e
equal deleted inserted replaced
35688:3d727b2e6f82 35689:1e257009ac10
54 else { 54 else {
55 GList *l = NULL; 55 GList *l = NULL;
56 56
57 for (l = pidgin_conv_windows_get_list(); l != NULL; l = l->next) { 57 for (l = pidgin_conv_windows_get_list(); l != NULL; l = l->next) {
58 win = l->data; 58 win = l->data;
59
60 if (!conv || !conv->active_conv ||
61 !G_TYPE_FROM_INSTANCE(conv->active_conv))
62 {
63 g_warn_if_reached();
64 continue;
65 }
59 66
60 if (purple_prefs_get_bool("/plugins/gtk/extplacement/placement_number_separate") && 67 if (purple_prefs_get_bool("/plugins/gtk/extplacement/placement_number_separate") &&
61 G_TYPE_FROM_INSTANCE(pidgin_conv_window_get_active_conversation(win)) != G_TYPE_FROM_INSTANCE(conv->active_conv)) 68 G_TYPE_FROM_INSTANCE(pidgin_conv_window_get_active_conversation(win)) != G_TYPE_FROM_INSTANCE(conv->active_conv))
62 continue; 69 continue;
63 70

mercurial