aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
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);