gobjectification: 4eee093a: PurpleBuddyList is not public anymore. R...
qulogic at pidgin.im
qulogic at pidgin.im
Sun Nov 8 03:31:10 EST 2009
-----------------------------------------------------------------
Revision: 4eee093a5373096721292f5d51447ca020b3aa5b
Ancestor: d43757bccef26678cc1d3b561ea116003d00b942
Author: qulogic at pidgin.im
Date: 2009-11-08T07:57:57
Branch: im.pidgin.gobjectification
URL: http://d.pidgin.im/viewmtn/revision/info/4eee093a5373096721292f5d51447ca020b3aa5b
Modified files:
pidgin/gtkblist.h pidgin/gtkprivacy.c
pidgin/plugins/gtk-signals-test.c
pidgin/plugins/perl/common/GtkBlist.xs
pidgin/plugins/themeedit-icon.c pidgin/plugins/themeedit.c
ChangeLog:
PurpleBuddyList is not public anymore. Remove it from Pidgin, though not in
the main blist code.
-------------- next part --------------
============================================================
--- pidgin/gtkblist.h 094332f5deb237f91ca4bd5f362bbbba2c4406fd
+++ pidgin/gtkblist.h acacd330a6b227942b2e42ab261a977bf26960ec
@@ -188,9 +188,8 @@ void pidgin_blist_make_buddy_menu(GtkWid
* Refreshes all the nodes of the buddy list.
* This should only be called when something changes to affect most of the nodes (such as a ui preference changing)
*
- * @param list This is the core list that gets updated from
*/
-void pidgin_blist_refresh(PurpleBuddyList *list);
+void pidgin_blist_refresh(void);
void pidgin_blist_update_columns(void);
void pidgin_blist_update_refresh_timeout(void);
@@ -274,7 +273,7 @@ PidginBlistTheme *pidgin_blist_get_theme
* @name GTK+ Buddy List sorting functions
**************************************************************************/
-typedef void (*pidgin_blist_sort_function)(PurpleBlistNode *new, PurpleBuddyList *blist, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter);
+typedef void (*pidgin_blist_sort_function)(PurpleBlistNode *new, GtkTreeIter group, GtkTreeIter *cur, GtkTreeIter *iter);
/**
* Gets the current list of sort methods.
============================================================
--- pidgin/gtkprivacy.c 0539636ae120a83ed054e2fc0defb5fc235fd35a
+++ pidgin/gtkprivacy.c 6c8ab9d4f6360f5cbb4d5673b7a214e5fc6a91d8
@@ -260,7 +260,7 @@ type_changed_cb(GtkOptionMenu *optmenu,
gtk_widget_show(dialog->button_box);
purple_blist_schedule_save();
- pidgin_blist_refresh(purple_get_blist());
+ pidgin_blist_refresh();
}
static void
============================================================
--- pidgin/plugins/gtk-signals-test.c bc65cc0262217161cbed19ef2f9df5ce06511e17
+++ pidgin/plugins/gtk-signals-test.c 26aac9cab7000f6b3fa99259ff5d22685b666d8f
@@ -43,7 +43,7 @@ static void
* Buddy List subsystem signal callbacks
**************************************************************************/
static void
-blist_created_cb(PurpleBuddyList *blist, void *data) {
+blist_created_cb(void *data) {
purple_debug_info("gtk-signal-test", "buddy list created\n");
}
============================================================
--- pidgin/plugins/perl/common/GtkBlist.xs df96a3fee3aaffec4505683ceee252dd95d5f5c6
+++ pidgin/plugins/perl/common/GtkBlist.xs c32688773e50071205f8fa4fe01f6323845b0ff6
@@ -10,8 +10,7 @@ void
pidgin_blist_get_default_gtk_blist()
void
-pidgin_blist_refresh(list)
- Purple::BuddyList list
+pidgin_blist_refresh()
void
pidgin_blist_update_refresh_timeout()
============================================================
--- pidgin/plugins/themeedit-icon.c 4f8c11cc2e3cb755686ee2e713397d531b49c3b7
+++ pidgin/plugins/themeedit-icon.c 549833d9d681670c4ae9019b1042dd4b63a46e44
@@ -170,7 +170,7 @@ use_icon_theme(GtkWidget *w, GtkWidget *
PidginStatusIconTheme *theme = create_icon_theme(window);
pidgin_stock_load_status_icon_theme(PIDGIN_STATUS_ICON_THEME(theme));
pidgin_stock_load_stock_icon_theme((PidginStockIconTheme *)theme);
- pidgin_blist_refresh(purple_get_blist());
+ pidgin_blist_refresh();
g_object_unref(theme);
}
============================================================
--- pidgin/plugins/themeedit.c 95e70f13d7a066ef54421dd0ea8fff8fa9ee2c40
+++ pidgin/plugins/themeedit.c fa3f2ca53e4ac0844ed3ce5f586d36c16929e44a
@@ -93,7 +93,7 @@ theme_font_face_selected(GtkWidget *dial
if (response == GTK_RESPONSE_OK || response == GTK_RESPONSE_APPLY) {
const char *fontname = gtk_font_selection_dialog_get_font_name(GTK_FONT_SELECTION_DIALOG(dialog));
pidgin_theme_font_set_font_face(font, fontname);
- pidgin_blist_refresh(purple_get_blist());
+ pidgin_blist_refresh();
}
gtk_widget_destroy(dialog);
}
More information about the Commits
mailing list