[evolution-rss] remove deprecated gtk symbols
- From: Lucian Langa <lucilanga src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-rss] remove deprecated gtk symbols
- Date: Sat, 18 Dec 2010 12:48:31 +0000 (UTC)
commit e4b39fa561aaf575e9b506892a402953c9db1b3a
Author: Lucian Langa <lucilanga gnome org>
Date: Sat Dec 18 14:47:53 2010 +0200
remove deprecated gtk symbols
src/evolution-import-rss.c | 2 +-
src/rss-config-factory.c | 5 +++--
src/rss.c | 8 ++++----
3 files changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/evolution-import-rss.c b/src/evolution-import-rss.c
index 2752bde..e4d5161 100644
--- a/src/evolution-import-rss.c
+++ b/src/evolution-import-rss.c
@@ -188,8 +188,8 @@ no_evo_cb (gpointer user_data)
system("evolution&");
g_usleep(30);
send_dbus_ping ();
- return FALSE;
}
+ return FALSE;
}
diff --git a/src/rss-config-factory.c b/src/rss-config-factory.c
index 8917ef1..d429b90 100644
--- a/src/rss-config-factory.c
+++ b/src/rss-config-factory.c
@@ -124,6 +124,7 @@ typedef struct _setupfeed {
GtkWidget *combo_hbox;
} setupfeed;
+void font_cb(GtkWidget *widget, GtkWidget *data);
static void feeds_dialog_edit(GtkDialog *d, gpointer data);
void decorate_import_cookies_fs (gpointer data);
gboolean store_redrawing = FALSE;
@@ -272,7 +273,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);
}
}
@@ -291,7 +292,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 ee24ffb..4af582b 100644
--- a/src/rss.c
+++ b/src/rss.c
@@ -851,7 +851,7 @@ network_timeout(void)
nettime_id = g_timeout_add (
(guint)(timeout)*1000,
- (GtkFunction) timeout_soup,
+ (GSourceFunc) timeout_soup,
0);
}
@@ -4384,7 +4384,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)),
@@ -4478,7 +4478,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(
@@ -4487,7 +4487,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]