[evolution-rss/evolution-rss-0-2-0] remove deprecated GtkFunction



commit 56521b8b10e1f9bec85099c9d72aac75c64a35e8
Author: Lucian Langa <lucilanga gnome org>
Date:   Wed May 4 13:56:14 2011 +0300

    remove deprecated GtkFunction

 src/rss-config-factory.c |    4 ++--
 src/rss.c                |    8 ++++----
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 0ed66f7..6a27775 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -271,7 +271,7 @@ rep_check_cb (GtkWidget *widget, gpointer data)
 			g_source_remove(rf->rc_id);
 		rf->rc_id = g_timeout_add (
 				60 * 1000 * gtk_spin_button_get_value((GtkSpinButton *)data),
-				(GtkFunction) update_articles,
+				(GSourceFunc) update_articles,
 				(gpointer)1);
 		}
 }
@@ -290,7 +290,7 @@ rep_check_timeout_cb (GtkWidget *widget, gpointer data)
 			g_source_remove(rf->rc_id);
 		rf->rc_id = g_timeout_add (
 			60 * 1000 * gtk_spin_button_get_value((GtkSpinButton *)widget),
-			(GtkFunction) update_articles,
+			(GSourceFunc) update_articles,
 			(gpointer)1);
 	}
 }
diff --git a/src/rss.c b/src/rss.c
index 0d78a6f..6de344b 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -879,7 +879,7 @@ network_timeout(void)
 
 	nettime_id = g_timeout_add (
 				(guint)(timeout)*1000,
-				(GtkFunction) timeout_soup,
+				(GSourceFunc) timeout_soup,
 				0);
 }
 
@@ -4439,7 +4439,7 @@ custom_fetch_feed(gpointer key, gpointer value, gpointer user_data)
 			}
 			time_id = g_timeout_add (
 					ttl * 60 * 1000 * ttl_multiply,
-					(GtkFunction) custom_update_articles,
+					(GSourceFunc) custom_update_articles,
 					cdata);
 			g_hash_table_replace(custom_timeout,
 				g_strdup(lookup_key(key)),
@@ -4649,7 +4649,7 @@ void org_gnome_cooly_rss_startup(void *ep, ESEventTargetUpgrade *t)
 		//as I don't know how to set this I'll setup a 10 secs timeout
 		//and return false for disableation
 		g_timeout_add (3 * 1000,
-			(GtkFunction) update_articles,
+			(GSourceFunc) update_articles,
 			0);
 	}
 	timeout = gconf_client_get_float(
@@ -4658,7 +4658,7 @@ void org_gnome_cooly_rss_startup(void *ep, ESEventTargetUpgrade *t)
 			NULL);
 	if (gconf_client_get_bool (rss_gconf, GCONF_KEY_REP_CHECK, NULL)) {
 		rf->rc_id = g_timeout_add (60 * 1000 * timeout,
-				(GtkFunction) update_articles,
+				(GSourceFunc) update_articles,
 				(gpointer)1);
 	}
 	custom_feed_timeout();



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]