* gtk/modest-edit-msg-window.c:
authorDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 19 Dec 2006 09:45:31 +0000 (09:45 +0000)
committerDirk-Jan C. Binnema <dirk-jan.binnema@nokia.com>
Tue, 19 Dec 2006 09:45:31 +0000 (09:45 +0000)
  - fix for modest-widget-memory change

pmo-trunk-r567

src/gtk/modest-edit-msg-window.c

index 4c7afcf..3316f8e 100644 (file)
@@ -132,7 +132,7 @@ save_settings (ModestEditMsgWindow *self)
        priv = MODEST_EDIT_MSG_WINDOW_GET_PRIVATE(self);
        conf = modest_tny_platform_factory_get_modest_conf_instance (priv->fact);
 
-       modest_widget_memory_save (conf, GTK_WIDGET(self), "modest-edit-msg-window");
+       modest_widget_memory_save (conf, G_OBJECT(self), "modest-edit-msg-window");
 }
 
 
@@ -145,7 +145,7 @@ restore_settings (ModestEditMsgWindow *self)
        priv = MODEST_EDIT_MSG_WINDOW_GET_PRIVATE(self);
        conf = modest_tny_platform_factory_get_modest_conf_instance (priv->fact);
 
-       modest_widget_memory_restore (conf, GTK_WIDGET(self), "modest-edit-msg-window");
+       modest_widget_memory_restore (conf, G_OBJECT(self), "modest-edit-msg-window");
 }