aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-10-25 23:28:17 +0800
committerMilan Crha <mcrha@redhat.com>2010-10-25 23:28:17 +0800
commit2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155 (patch)
tree44dfc9dbc9c75d3e10087648d5a6746695290feb
parent5204507b2f326a76ed203b3fff0e4863cb6b709f (diff)
downloadgsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.gz
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.bz2
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.lz
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.xz
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.tar.zst
gsoc2013-evolution-2ac302d4b2b5b6cfd3928f8a00a4d3c190d58155.zip
Bug #631870 - Memory leak in e_week_view after GtkObject removal
-rw-r--r--libgnomecanvas/gnome-canvas.c2
-rw-r--r--mail/e-mail-reader.c2
-rw-r--r--widgets/misc/e-printable.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index cacabff454..014c57d4c1 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -165,7 +165,7 @@ gnome_canvas_item_get_type (void)
NULL /* value_table */
};
- canvas_item_type = g_type_register_static (G_TYPE_OBJECT, "GnomeCanvasItem",
+ canvas_item_type = g_type_register_static (G_TYPE_INITIALLY_UNOWNED, "GnomeCanvasItem",
&object_info, 0);
}
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 34a6f5be26..114bca0531 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -111,7 +111,7 @@ static GQuark quark_forward_style;
static GQuark quark_reply_style;
static guint signals[LAST_SIGNAL];
-G_DEFINE_INTERFACE (EMailReader, e_mail_reader, G_TYPE_OBJECT)
+G_DEFINE_INTERFACE (EMailReader, e_mail_reader, G_TYPE_INITIALLY_UNOWNED)
static void
mail_reader_private_free (EMailReaderPrivate *priv)
diff --git a/widgets/misc/e-printable.c b/widgets/misc/e-printable.c
index aa723f61c4..00bb57d13d 100644
--- a/widgets/misc/e-printable.c
+++ b/widgets/misc/e-printable.c
@@ -33,7 +33,7 @@
G_DEFINE_TYPE (
EPrintable,
e_printable,
- G_TYPE_OBJECT)
+ G_TYPE_INITIALLY_UNOWNED)
enum {
PRINT_PAGE,