diff options
author | Milan Crha <mcrha@redhat.com> | 2010-10-07 01:26:08 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2010-10-07 01:26:08 +0800 |
commit | 1c6f2d154e74f908e2c4a137de0233b5faf4f6b6 (patch) | |
tree | 77a33236e48ed59a7c7c65e8a1c91481dd09f3eb /mail/e-mail-reader.c | |
parent | 1b2fefb086c3e34089beb8b89b22d79005cc7725 (diff) | |
download | gsoc2013-evolution-1c6f2d154e74f908e2c4a137de0233b5faf4f6b6.tar.gz gsoc2013-evolution-1c6f2d154e74f908e2c4a137de0233b5faf4f6b6.tar.zst gsoc2013-evolution-1c6f2d154e74f908e2c4a137de0233b5faf4f6b6.zip |
Bug #631320 - GtkObject is gone in GTK3
Diffstat (limited to 'mail/e-mail-reader.c')
-rw-r--r-- | mail/e-mail-reader.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c index 9eda80a5a5..047f386c19 100644 --- a/mail/e-mail-reader.c +++ b/mail/e-mail-reader.c @@ -109,14 +109,7 @@ static gchar *default_xfer_messages_uri; static GQuark quark_private; static guint signals[LAST_SIGNAL]; -G_DEFINE_INTERFACE (EMailReader, e_mail_reader, GTK_TYPE_OBJECT) - -static void -mail_reader_destroy (GObject *object) -{ - /* This will free the private struct. */ - g_object_set_qdata (object, quark_private, NULL); -} +G_DEFINE_INTERFACE (EMailReader, e_mail_reader, G_TYPE_OBJECT) static void mail_reader_private_free (EMailReaderPrivate *priv) @@ -3227,10 +3220,6 @@ init_private: G_OBJECT (reader), quark_private, g_slice_new0 (EMailReaderPrivate), (GDestroyNotify) mail_reader_private_free); - - g_signal_connect ( - reader, "destroy", - G_CALLBACK (mail_reader_destroy), NULL); } void |