/pidgin/main: f98089ae0e01: Fix some leftover uses of the (very)...

Daniel Atallah datallah at pidgin.im
Tue Feb 26 18:29:04 EST 2013


Changeset: f98089ae0e012a6ccb8e77f81f0d08347bcf8691
Author:	 Daniel Atallah <datallah at pidgin.im>
Date:	 2013-02-26 18:28 -0500
Branch:	 release-2.x.y
URL: https://hg.pidgin.im/pidgin/main/rev/f98089ae0e01

Description:

Fix some leftover uses of the (very) old scaling API that were using 0.5 instead of PIDGIN_PRPL_ICON_SMALL

 * Thanks to Michael Tautschnig for bringing this to our attention
 * Fixes #15530

diffstat:

 pidgin/gtknotify.c                           |  2 +-
 pidgin/plugins/gevolution/add_buddy_dialog.c |  4 ++--
 pidgin/plugins/gevolution/gevolution.c       |  2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

diffs (45 lines):

diff --git a/pidgin/gtknotify.c b/pidgin/gtknotify.c
--- a/pidgin/gtknotify.c
+++ b/pidgin/gtknotify.c
@@ -915,7 +915,7 @@ pidgin_notify_searchresults_new_rows(Pur
 
 	gtk_list_store_clear(data->model);
 
-	pixbuf = pidgin_create_prpl_icon(purple_connection_get_account(gc), 0.5);
+	pixbuf = pidgin_create_prpl_icon(purple_connection_get_account(gc), PIDGIN_PRPL_ICON_SMALL);
 
 	for (row = results->rows; row != NULL; row = row->next) {
 
diff --git a/pidgin/plugins/gevolution/add_buddy_dialog.c b/pidgin/plugins/gevolution/add_buddy_dialog.c
--- a/pidgin/plugins/gevolution/add_buddy_dialog.c
+++ b/pidgin/plugins/gevolution/add_buddy_dialog.c
@@ -183,7 +183,7 @@ add_ims(GevoAddBuddyDialog *dialog, ECon
 	if (account == NULL)
 		return;
 
-	pixbuf = pidgin_create_prpl_icon(account, 0.5);
+	pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
 
 	for (l = list; l != NULL; l = l->next)
 	{
@@ -602,7 +602,7 @@ gevo_add_buddy_dialog_add_person(GevoAdd
 	GdkPixbuf *pixbuf;
 	GtkTreeIter iter;
 
-	pixbuf = pidgin_create_prpl_icon(account, 0.5);
+	pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
 
 	gtk_list_store_append(dialog->model, &iter);
 
diff --git a/pidgin/plugins/gevolution/gevolution.c b/pidgin/plugins/gevolution/gevolution.c
--- a/pidgin/plugins/gevolution/gevolution.c
+++ b/pidgin/plugins/gevolution/gevolution.c
@@ -489,7 +489,7 @@ get_config_frame(PurplePlugin *plugin)
 
 		gtk_list_store_append(model, &iter);
 
-		pixbuf = pidgin_create_prpl_icon(account, 0.5);
+		pixbuf = pidgin_create_prpl_icon(account, PIDGIN_PRPL_ICON_SMALL);
 		if ((pixbuf != NULL) && (!purple_account_is_connected(account)))
 			gdk_pixbuf_saturate_and_pixelate(pixbuf, pixbuf, 0.0, FALSE);
 



More information about the Commits mailing list