aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorKjartan Maraas <kmaraas@gnome.org>2004-09-30 16:53:05 +0800
committerKjartan Maraas <kmaraas@src.gnome.org>2004-09-30 16:53:05 +0800
commit6989b2cc5b4bfbe79b6dcf39e2db862c8cb01152 (patch)
treeb4805d12fd4914b0b6e7df7a9bf0340e1fb3e32a /composer
parent5f1eb8c6548aa6f56bd8c69333562431f0c0eadc (diff)
downloadgsoc2013-evolution-6989b2cc5b4bfbe79b6dcf39e2db862c8cb01152.tar.gz
gsoc2013-evolution-6989b2cc5b4bfbe79b6dcf39e2db862c8cb01152.tar.zst
gsoc2013-evolution-6989b2cc5b4bfbe79b6dcf39e2db862c8cb01152.zip
Use non-deprecated functions.
2004-09-30 Kjartan Maraas <kmaraas@gnome.org> * e-msg-composer.c: (autosave_manager_start), (autosave_manager_stop), (create_composer): Use non-deprecated functions. svn path=/trunk/; revision=27436
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog6
-rw-r--r--composer/e-msg-composer.c6
2 files changed, 9 insertions, 3 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index edd6395386..0815dbe397 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,9 @@
+2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
+
+ * e-msg-composer.c: (autosave_manager_start),
+ (autosave_manager_stop), (create_composer): Use non-deprecated
+ functions.
+
2004-08-17 Michael Meeks <michael@ximian.com>
* e-msg-composer.c (handle_mailto): handle 'attachment' as
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index e72df878f8..67b3ea8f1c 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -1444,14 +1444,14 @@ static void
autosave_manager_start (AutosaveManager *am)
{
if (am->id == 0)
- am->id = gtk_timeout_add (AUTOSAVE_INTERVAL, autosave_run, am);
+ am->id = g_timeout_add (AUTOSAVE_INTERVAL, autosave_run, am);
}
static void
autosave_manager_stop (AutosaveManager *am)
{
if (am->id) {
- gtk_timeout_remove (am->id);
+ g_source_remove (am->id);
am->id = 0;
}
}
@@ -3280,7 +3280,7 @@ create_composer (int visible_mask)
composer->attachment_expander_icon = gtk_image_new_from_pixbuf (attachment_pixbuf);
gtk_misc_set_alignment (GTK_MISC (composer->attachment_expander_icon), 1, 0.5);
gtk_widget_set_size_request (composer->attachment_expander_icon, 100, -1);
- gdk_pixbuf_unref (attachment_pixbuf);
+ g_object_unref (attachment_pixbuf);
gtk_box_pack_start (GTK_BOX (expander_hbox), composer->attachment_expander_label,
TRUE, TRUE, 0);