| 29 #include "gtkconvwin.h" |
29 #include "gtkconvwin.h" |
| 30 |
30 |
| 31 static void |
31 static void |
| 32 conv_placement_by_number(PidginConversation *conv) |
32 conv_placement_by_number(PidginConversation *conv) |
| 33 { |
33 { |
| 34 PidginWindow *win = NULL; |
34 PidginConvWindow *win = NULL; |
| 35 GList *wins = NULL; |
35 GList *wins = NULL; |
| 36 |
36 |
| 37 if (purple_prefs_get_bool("/plugins/gtk/extplacement/placement_number_separate")) |
37 if (purple_prefs_get_bool("/plugins/gtk/extplacement/placement_number_separate")) |
| 38 win = PURPLE_IS_IM_CONVERSATION(conv->active_conv) ? |
38 win = PURPLE_IS_IM_CONVERSATION(conv->active_conv) ? |
| 39 pidgin_conv_window_last_im() : pidgin_conv_window_last_chat(); |
39 pidgin_conv_window_last_im() : pidgin_conv_window_last_chat(); |