diff options
author | Daniel Atallah <datallah@pidgin.im> | 2007-02-14 02:35:35 +0000 |
---|---|---|
committer | Daniel Atallah <datallah@pidgin.im> | 2007-02-14 02:35:35 +0000 |
commit | bb38769b14790c51ec6d1c4577ffa1e0e1a76a1d (patch) | |
tree | d777227aa1d397f4257f67e19f9c4ed2124a476f | |
parent | 9588b288cbd6435adf3d0a15ba541f90098e75da (diff) | |
download | pidgin-bb38769b14790c51ec6d1c4577ffa1e0e1a76a1d.tar.gz |
Some more pidgininfication
-rw-r--r-- | pidgin/gtkblist.c | 30 | ||||
-rw-r--r-- | pidgin/gtkblist.h | 20 | ||||
-rw-r--r-- | pidgin/gtkconv.c | 22 | ||||
-rw-r--r-- | pidgin/gtkconv.h | 4 | ||||
-rw-r--r-- | pidgin/gtkdocklet.c | 2 | ||||
-rw-r--r-- | pidgin/gtkft.c | 8 | ||||
-rw-r--r-- | pidgin/gtkft.h | 8 | ||||
-rw-r--r-- | pidgin/gtkplugin.c | 8 | ||||
-rw-r--r-- | pidgin/gtkplugin.h | 4 | ||||
-rw-r--r-- | pidgin/gtkthemes.c | 2 | ||||
-rw-r--r-- | pidgin/pidgin.h | 8 | ||||
-rw-r--r-- | pidgin/plugins/gestures/gestures.c | 8 |
12 files changed, 62 insertions, 62 deletions
diff --git a/pidgin/gtkblist.c b/pidgin/gtkblist.c index 228ebbfb43..6e3f4a86f6 100644 --- a/pidgin/gtkblist.c +++ b/pidgin/gtkblist.c @@ -2232,13 +2232,13 @@ static GdkPixbuf *pidgin_blist_get_buddy_icon(GaimBlistNode *node, * | | * +---- TOOLTIP_BORDER +---- TOOLTIP_BORDER * - * + * */ #define STATUS_SIZE 22 #define TOOLTIP_BORDER 12 #define SMALL_SPACE 6 #define LARGE_SPACE 12 -#define PRPL_SIZE 16 +#define PRPL_SIZE 16 struct tooltip_data { PangoLayout *layout; PangoLayout *name_layout; @@ -2318,7 +2318,7 @@ static void pidgin_blist_paint_tip(GtkWidget *widget, GdkEventExpose *event, Gai GList *l; int prpl_col = 0; GtkTextDirection dir = gtk_widget_get_direction(widget); - + if(gtkblist->tooltipdata == NULL) return; @@ -2398,7 +2398,7 @@ static void pidgin_blist_paint_tip(GtkWidget *widget, GdkEventExpose *event, Gai if (dir == GTK_TEXT_DIR_RTL) { gtk_paint_layout(style, gtkblist->tipwindow->window, GTK_STATE_NORMAL, FALSE, NULL, gtkblist->tipwindow, "tooltip", - max_width -(TOOLTIP_BORDER + STATUS_SIZE +SMALL_SPACE) - PANGO_PIXELS(300000), + max_width -(TOOLTIP_BORDER + STATUS_SIZE +SMALL_SPACE) - PANGO_PIXELS(300000), current_height, td->name_layout); } else { gtk_paint_layout (style, gtkblist->tipwindow->window, GTK_STATE_NORMAL, FALSE, @@ -3031,20 +3031,20 @@ pidgin_blist_get_emblem(GaimBlistNode *node) } else { return NULL; } - + if (!gaim_privacy_check(buddy->account, gaim_buddy_get_name(buddy))) { path = g_build_filename(DATADIR, "pixmaps", "pidgin", "emblems", "16", "blocked.png", NULL); ret = gdk_pixbuf_new_from_file(path, NULL); g_free(path); return ret; } - + p = gaim_buddy_get_presence(buddy); if (gaim_presence_is_status_primitive_active(p, GAIM_STATUS_MOBILE)) { path = g_build_filename(DATADIR, "pixmaps", "pidgin", "emblems", "16", "mobile.png", NULL); ret = gdk_pixbuf_new_from_file(path, NULL); g_free(path); - return ret; + return ret; } prpl = gaim_find_prpl(gaim_account_get_protocol_id(buddy->account)); @@ -3062,7 +3062,7 @@ pidgin_blist_get_emblem(GaimBlistNode *node) path = g_build_filename(DATADIR, "pixmaps", "pidgin", "emblems", "16", filename, NULL); ret = gdk_pixbuf_new_from_file(path, NULL); - + g_free(filename); g_free(path); @@ -3116,7 +3116,7 @@ pidgin_blist_get_status_icon(GaimBlistNode *node, PidginStatusIconSize size) protoname = prpl_info->list_icon(account, buddy); } } - + if(buddy) { GaimConversation *conv = gaim_find_conversation_with_account(GAIM_CONV_TYPE_IM, gaim_buddy_get_name(buddy), @@ -3130,7 +3130,7 @@ pidgin_blist_get_status_icon(GaimBlistNode *node, PidginStatusIconSize size) } } p = gaim_buddy_get_presence(buddy); - + if (GAIM_BUDDY_IS_ONLINE(buddy) && gtkbuddynode && gtkbuddynode->recent_signonoff) ret = gtk_widget_render_icon (GTK_WIDGET(gtkblist->treeview), PIDGIN_STOCK_STATUS_LOGIN, icon_size, "GtkTreeView"); @@ -3201,7 +3201,7 @@ static gchar *pidgin_blist_get_name_markup(GaimBuddy *b, gboolean selected) hidden_conv = TRUE; } } - + /* XXX Good luck cleaning up this crap */ contact = (GaimContact*)((GaimBlistNode*)b)->parent; @@ -3356,13 +3356,13 @@ static gchar *pidgin_blist_get_name_markup(GaimBuddy *b, gboolean selected) g_free(idletime); g_free(statustext); g_free(esc); - + if (hidden_conv) { char *tmp = text; text = g_strdup_printf("<b>%s</b>", tmp); g_free(tmp); } - + return text; } @@ -3589,7 +3589,7 @@ conversation_updated_cb(GaimConversation *conv, GaimConvUpdateType type, tooltip_text = g_string_new(""); l = convs; while (l != NULL) { - if (GAIM_IS_GTK_CONVERSATION(l->data)) { + if (PIDGIN_IS_PIDGIN_CONVERSATION(l->data)) { PidginConversation *gtkconv = PIDGIN_CONVERSATION((GaimConversation *)l->data); g_string_append_printf(tooltip_text, @@ -3602,7 +3602,7 @@ conversation_updated_cb(GaimConversation *conv, GaimConvUpdateType type, if(tooltip_text->len > 0) { /* get rid of the last newline */ g_string_truncate(tooltip_text, tooltip_text->len -1); - img = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_PENDING, + img = gtk_image_new_from_stock(PIDGIN_STOCK_TOOLBAR_PENDING, gtk_icon_size_from_name(PIDGIN_ICON_SIZE_TANGO_EXTRA_SMALL)); gtkblist->menutrayicon = gtk_event_box_new(); diff --git a/pidgin/gtkblist.h b/pidgin/gtkblist.h index deeab455d3..e0b8580571 100644 --- a/pidgin/gtkblist.h +++ b/pidgin/gtkblist.h @@ -63,10 +63,10 @@ typedef enum { */ struct _PidginBuddyList { GtkWidget *window; - GtkWidget *notebook; /**< The notebook that switches between the real buddy list and the helpful + GtkWidget *notebook; /**< The notebook that switches between the real buddy list and the helpful instructions page */ GtkWidget *main_vbox; /**< This vbox contains the menu and notebook */ - GtkWidget *vbox; /**< This is the vbox that everything important gets packed into. + GtkWidget *vbox; /**< This is the vbox that everything important gets packed into. Your plugin might want to pack something in it itself. Go, plugins! */ GtkWidget *treeview; /**< It's a treeview... d'uh. */ @@ -100,7 +100,7 @@ struct _PidginBuddyList { GdkCursor *hand_cursor; /**< Hand cursor */ GdkCursor *arrow_cursor; /**< Arrow cursor */ - + GtkWidget *scrollbook; /**< Scrollbook for alerts */ GtkWidget *headline_hbox; /**< Hbox for headline notification */ GtkWidget *headline_label; /**< Label for headline notifications */ @@ -110,14 +110,14 @@ struct _PidginBuddyList { gpointer headline_data; /**< User data for headline notifications */ GDestroyNotify headline_destroy; /**< Callback to use for destroying the headline-data */ gboolean changing_style; /**< True when changing GTK+ theme style */ - + GtkWidget *error_buttons; /**< Box containing the connection error buttons */ GtkWidget *statusbox; /**< The status selector dropdown */ GdkPixbuf *empty_avatar; /**< A 32x32 transparent pixbuf */ }; #define PIDGIN_BLIST(list) ((PidginBuddyList *)(list)->ui_data) -#define GAIM_IS_GTK_BLIST(list) \ +#define PIDGIN_IS_PIDGIN_BLIST(list) \ ((list)->ui_ops == pidgin_blist_get_ui_ops()) /************************************************************************** @@ -183,7 +183,7 @@ void pidgin_blist_update_refresh_timeout(void); * Returns the blist emblem * * @param node The node to return an emblem for - * + * * @return A newly created GdkPixbuf, or NULL */ GdkPixbuf * @@ -214,9 +214,9 @@ gboolean pidgin_blist_node_is_contact_expanded(GaimBlistNode *node); void pidgin_blist_toggle_visibility(void); /** - * Increases the reference count of visibility managers. Callers should - * call the complementary remove function when no longer managing - * visibility. + * Increases the reference count of visibility managers. Callers should + * call the complementary remove function when no longer managing + * visibility. * * A visibility manager is something that provides some method for * showing the buddy list after it is hidden (e.g. docklet plugin). @@ -349,7 +349,7 @@ void pidgin_blist_update_account_error_state(GaimAccount *account, const char *m * * This is currently used for mail notification, but could theoretically be used for anything. * Only the most recent headline will be shown. - * + * * @param text Pango Markup for the label text * @param pixbuf The GdkPixbuf for the icon * @param callback The callback to call when headline is clicked diff --git a/pidgin/gtkconv.c b/pidgin/gtkconv.c index 634cdfe717..29bdc6e72c 100644 --- a/pidgin/gtkconv.c +++ b/pidgin/gtkconv.c @@ -218,7 +218,7 @@ size_allocate_cb(GtkWidget *w, GtkAllocation *allocation, PidginConversation *gt if (!GTK_WIDGET_VISIBLE(w)) return FALSE; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) return FALSE; if (gtkconv->auto_resize) { @@ -2934,10 +2934,10 @@ setup_menubar(PidginWindow *win) gtk_item_factory_get_widget(win->menu.item_factory, N_("/Conversation/Block...")); - win->menu.unblock = + win->menu.unblock = gtk_item_factory_get_widget(win->menu.item_factory, N_("/Conversation/Unblock...")); - + win->menu.add = gtk_item_factory_get_widget(win->menu.item_factory, N_("/Conversation/Add...")); @@ -4184,7 +4184,7 @@ setup_chat_pane(PidginConversation *gtkconv) g_object_set_data(G_OBJECT(gtkconv->entry_buffer), "user_data", gtkconv); g_signal_connect_swapped(G_OBJECT(gtkconv->entry_buffer), "changed", G_CALLBACK(resize_imhtml_cb), gtkconv); - + g_signal_connect(G_OBJECT(gtkconv->entry), "key_press_event", G_CALLBACK(entry_key_press_cb), gtkconv); g_signal_connect_after(G_OBJECT(gtkconv->entry), "message_send", @@ -4795,7 +4795,7 @@ pidgin_conv_write_conv(GaimConversation *conv, const char *name, const char *ali gboolean plugin_return; char *bracket; int tag_count = 0; - + g_return_if_fail(conv != NULL); gtkconv = PIDGIN_CONVERSATION(conv); g_return_if_fail(gtkconv != NULL); @@ -6000,7 +6000,7 @@ pidgin_conv_update_buddy_icon(GaimConversation *conv) GaimBuddyIcon *icon; g_return_if_fail(conv != NULL); - g_return_if_fail(GAIM_IS_GTK_CONVERSATION(conv)); + g_return_if_fail(PIDGIN_IS_PIDGIN_CONVERSATION(conv)); g_return_if_fail(gaim_conversation_get_type(conv) == GAIM_CONV_TYPE_IM); gtkconv = PIDGIN_CONVERSATION(conv); @@ -6151,7 +6151,7 @@ pidgin_conv_update_buttons_by_protocol(GaimConversation *conv) { PidginWindow *win; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) return; win = PIDGIN_CONVERSATION(conv)->win; @@ -6240,7 +6240,7 @@ close_on_tabs_pref_cb(const char *name, GaimPrefType type, for (l = gaim_get_conversations(); l != NULL; l = l->next) { conv = (GaimConversation *)l->data; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) continue; gtkconv = PIDGIN_CONVERSATION(conv); @@ -6266,7 +6266,7 @@ spellcheck_pref_cb(const char *name, GaimPrefType type, conv = (GaimConversation *)cl->data; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) continue; gtkconv = PIDGIN_CONVERSATION(conv); @@ -6311,7 +6311,7 @@ show_timestamps_pref_cb(const char *name, GaimPrefType type, { conv = (GaimConversation *)l->data; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) continue; gtkconv = PIDGIN_CONVERSATION(conv); @@ -6339,7 +6339,7 @@ show_formatting_toolbar_pref_cb(const char *name, GaimPrefType type, { conv = (GaimConversation *)l->data; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) continue; gtkconv = PIDGIN_CONVERSATION(conv); diff --git a/pidgin/gtkconv.h b/pidgin/gtkconv.h index 8a695079ab..557cf53dc6 100644 --- a/pidgin/gtkconv.h +++ b/pidgin/gtkconv.h @@ -55,7 +55,7 @@ enum { #define PIDGIN_CONVERSATION(conv) \ ((PidginConversation *)(conv)->ui_data) -#define GAIM_IS_GTK_CONVERSATION(conv) \ +#define PIDGIN_IS_PIDGIN_CONVERSATION(conv) \ (gaim_conversation_get_ui_ops(conv) == \ pidgin_conversations_get_conv_ui_ops()) @@ -134,7 +134,7 @@ struct _PidginConversation gboolean entry_growing; /* True if the size of the entry was set * automatically by typing too much to fit * in one line */ - + GtkWidget *close; /* "x" on the tab */ GtkWidget *icon; GtkWidget *tab_label; diff --git a/pidgin/gtkdocklet.c b/pidgin/gtkdocklet.c index b4f98dfc69..ad26e419b1 100644 --- a/pidgin/gtkdocklet.c +++ b/pidgin/gtkdocklet.c @@ -143,7 +143,7 @@ docklet_update_status() if (ui_ops->set_tooltip) { GString *tooltip_text = g_string_new(""); for (l = convs, count = 0 ; l != NULL ; l = l->next, count++) { - if (GAIM_IS_GTK_CONVERSATION(l->data)) { + if (PIDGIN_IS_PIDGIN_CONVERSATION(l->data)) { PidginConversation *gtkconv = PIDGIN_CONVERSATION((GaimConversation *)l->data); if (count == DOCKLET_TOOLTIP_LINE_LIMIT - 1) g_string_append(tooltip_text, _("Right-click for more unread messages...\n")); diff --git a/pidgin/gtkft.c b/pidgin/gtkft.c index 7f74aa8f2d..f332c9d1da 100644 --- a/pidgin/gtkft.c +++ b/pidgin/gtkft.c @@ -905,11 +905,11 @@ pidginxfer_dialog_show(PidginXferDialog *dialog) PidginXferDialog *tmp; if (dialog == NULL) { - tmp = gaim_get_gtkxfer_dialog(); + tmp = pidgin_get_xfer_dialog(); if (tmp == NULL) { tmp = pidginxfer_dialog_new(); - gaim_set_gtkxfer_dialog(tmp); + pidgin_set_xfer_dialog(tmp); } gtk_widget_show(tmp->window); @@ -1244,13 +1244,13 @@ pidgin_xfers_uninit(void) } void -gaim_set_gtkxfer_dialog(PidginXferDialog *dialog) +pidgin_set_xfer_dialog(PidginXferDialog *dialog) { xfer_dialog = dialog; } PidginXferDialog * -gaim_get_gtkxfer_dialog(void) +pidgin_get_xfer_dialog(void) { return xfer_dialog; } diff --git a/pidgin/gtkft.h b/pidgin/gtkft.h index ed21582529..76c1867b53 100644 --- a/pidgin/gtkft.h +++ b/pidgin/gtkft.h @@ -122,18 +122,18 @@ void pidgin_xfers_init(void); void pidgin_xfers_uninit(void); /** - * Sets gaim's main file transfer dialog. + * Sets pidgin's main file transfer dialog. * * @param dialog The main dialog. */ -void gaim_set_gtkxfer_dialog(PidginXferDialog *dialog); +void pidgin_set_xfer_dialog(PidginXferDialog *dialog); /** - * Returns gaim's main file transfer dialog. + * Returns pirgin's main file transfer dialog. * * @return The main dialog. */ -PidginXferDialog *gaim_get_gtkxfer_dialog(void); +PidginXferDialog *pidgin_get_xfer_dialog(void); /** * Returns the UI operations structure for the GTK+ file transfer UI. diff --git a/pidgin/gtkplugin.c b/pidgin/gtkplugin.c index 07b02471b0..785e6d7b27 100644 --- a/pidgin/gtkplugin.c +++ b/pidgin/gtkplugin.c @@ -51,7 +51,7 @@ pidgin_plugin_get_config_frame(GaimPlugin *plugin) g_return_val_if_fail(plugin != NULL, NULL); - if (GAIM_IS_GTK_PLUGIN(plugin) && plugin->info->ui_info + if (PIDGIN_IS_PIDGIN_PLUGIN(plugin) && plugin->info->ui_info && PIDGIN_PLUGIN_UI_INFO(plugin)->get_config_frame) { PidginPluginUiInfo *ui_info; @@ -175,7 +175,7 @@ static void plugin_loading_common(GaimPlugin *plugin, GtkTreeView *view, gboolea { gtk_widget_set_sensitive(pref_button, loaded - && ((GAIM_IS_GTK_PLUGIN(plug) && plug->info->ui_info + && ((PIDGIN_IS_PIDGIN_PLUGIN(plug) && plug->info->ui_info && PIDGIN_PLUGIN_UI_INFO(plug)->get_config_frame) || (plug->info->prefs_info && plug->info->prefs_info->get_plugin_pref_frame))); @@ -307,7 +307,7 @@ static void plugin_toggled_stage_two(GaimPlugin *plug, GtkTreeModel *model, GtkT gtk_widget_set_sensitive(pref_button, gaim_plugin_is_loaded(plug) - && ((GAIM_IS_GTK_PLUGIN(plug) && plug->info->ui_info + && ((PIDGIN_IS_PIDGIN_PLUGIN(plug) && plug->info->ui_info && PIDGIN_PLUGIN_UI_INFO(plug)->get_config_frame) || (plug->info->prefs_info && plug->info->prefs_info->get_plugin_pref_frame))); @@ -416,7 +416,7 @@ static void prefs_plugin_sel (GtkTreeSelection *sel, GtkTreeModel *model) gtk_widget_set_sensitive(pref_button, gaim_plugin_is_loaded(plug) - && ((GAIM_IS_GTK_PLUGIN(plug) && plug->info->ui_info + && ((PIDGIN_IS_PIDGIN_PLUGIN(plug) && plug->info->ui_info && PIDGIN_PLUGIN_UI_INFO(plug)->get_config_frame) || (plug->info->prefs_info && plug->info->prefs_info->get_plugin_pref_frame))); diff --git a/pidgin/gtkplugin.h b/pidgin/gtkplugin.h index ad1c6cb2ac..f668451330 100644 --- a/pidgin/gtkplugin.h +++ b/pidgin/gtkplugin.h @@ -7,7 +7,7 @@ * Pidgin is the legal property of its developers, whose names are too numerous * to list here. Please refer to the COPYRIGHT file distributed with this * source distribution. - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -42,7 +42,7 @@ struct _PidginPluginUiInfo #define PIDGIN_PLUGIN_TYPE PIDGIN_UI -#define GAIM_IS_GTK_PLUGIN(plugin) \ +#define PIDGIN_IS_PIDGIN_PLUGIN(plugin) \ ((plugin)->info != NULL && (plugin)->info->ui_info != NULL && \ !strcmp((plugin)->info->ui_requirement, PIDGIN_PLUGIN_TYPE)) diff --git a/pidgin/gtkthemes.c b/pidgin/gtkthemes.c index a9ab364d88..7f2a1268b0 100644 --- a/pidgin/gtkthemes.c +++ b/pidgin/gtkthemes.c @@ -248,7 +248,7 @@ void pidginthemes_load_smiley_theme(const char *file, gboolean load) for (cnv = gaim_get_conversations(); cnv != NULL; cnv = cnv->next) { GaimConversation *conv = cnv->data; - if (GAIM_IS_GTK_CONVERSATION(conv)) { + if (PIDGIN_IS_PIDGIN_CONVERSATION(conv)) { pidginthemes_smiley_themeize(PIDGIN_CONVERSATION(conv)->imhtml); pidginthemes_smiley_themeize(PIDGIN_CONVERSATION(conv)->entry); } diff --git a/pidgin/pidgin.h b/pidgin/pidgin.h index 562eae3314..1da647ab53 100644 --- a/pidgin/pidgin.h +++ b/pidgin/pidgin.h @@ -23,8 +23,8 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ /* #warning ***pidgin*** */ -#ifndef _PIDGINGAIM_H_ -#define _PIDGINGAIM_H_ +#ifndef _PIDGIN_H_ +#define _PIDGIN_H_ #ifndef _WIN32 # include <gdk/gdkx.h> @@ -44,7 +44,7 @@ #ifndef _WIN32 # define GAIM_ALERT_TITLE "" #else -# define GAIM_ALERT_TITLE PIDGIN_NAME +# define GAIM_ALERT_TITLE PIDGIN_NAME #endif /* @@ -88,5 +88,5 @@ */ #define GAIM_INVISIBLE_CHAR (gunichar)0x2022 -#endif /* _PIDGINGAIM_H_ */ +#endif /* _PIDGIN_H_ */ diff --git a/pidgin/plugins/gestures/gestures.c b/pidgin/plugins/gestures/gestures.c index bca7c935c5..db7c1294eb 100644 --- a/pidgin/plugins/gestures/gestures.c +++ b/pidgin/plugins/gestures/gestures.c @@ -43,7 +43,7 @@ stroke_close(GtkWidget *widget, void *data) conv = (GaimConversation *)data; /* Double-check */ - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATIONON(conv)) return; gtkconv = PIDGIN_CONVERSATION(conv); @@ -144,7 +144,7 @@ attach_signals(GaimConversation *conv) static void new_conv_cb(GaimConversation *conv) { - if (GAIM_IS_GTK_CONVERSATION(conv)) + if (PIDGIN_IS_PIDGIN_CONVERSATIONON(conv)) attach_signals(conv); } @@ -181,7 +181,7 @@ plugin_load(GaimPlugin *plugin) for (l = gaim_get_conversations(); l != NULL; l = l->next) { conv = (GaimConversation *)l->data; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATIONON(conv)) continue; attach_signals(conv); @@ -204,7 +204,7 @@ plugin_unload(GaimPlugin *plugin) for (l = gaim_get_conversations(); l != NULL; l = l->next) { conv = (GaimConversation *)l->data; - if (!GAIM_IS_GTK_CONVERSATION(conv)) + if (!PIDGIN_IS_PIDGIN_CONVERSATION(conv)) continue; gtkconv = PIDGIN_CONVERSATION(conv); |