diff options
Diffstat (limited to 'calendar/gui/dialogs/memo-editor.c')
-rw-r--r-- | calendar/gui/dialogs/memo-editor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/memo-editor.c b/calendar/gui/dialogs/memo-editor.c index fb977c3a97..aaa1b864b6 100644 --- a/calendar/gui/dialogs/memo-editor.c +++ b/calendar/gui/dialogs/memo-editor.c @@ -213,8 +213,7 @@ memo_editor_construct (MemoEditor *me, ECal *client) priv = me->priv; priv->memo_page = memo_page_new (editor->uic, flags); - g_object_ref (priv->memo_page); - gtk_object_sink (GTK_OBJECT (priv->memo_page)); + g_object_ref_sink (priv->memo_page); comp_editor_append_page (COMP_EDITOR (me), COMP_EDITOR_PAGE (priv->memo_page), _("Memo"), TRUE); |