[aisleriot] app: Remove weird constructor
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] app: Remove weird constructor
- Date: Mon, 4 Mar 2013 20:37:06 +0000 (UTC)
commit 471e16efa934749780dd601e6f2c62236fcc4ccc
Author: Christian Persch <chpe gnome org>
Date: Mon Mar 4 20:57:19 2013 +0100
app: Remove weird constructor
src/ar-application.c | 20 --------------------
1 files changed, 0 insertions(+), 20 deletions(-)
---
diff --git a/src/ar-application.c b/src/ar-application.c
index 8f5df02..f0b5090 100644
--- a/src/ar-application.c
+++ b/src/ar-application.c
@@ -312,25 +312,6 @@ ar_application_startup (GApplication *application)
self->priv->window = AISLERIOT_WINDOW (aisleriot_window_new (GTK_APPLICATION (application)));
}
-static GObject *
-ar_application_constructor (GType type,
- guint n_construct_params,
- GObjectConstructParam *construct_params)
-{
- static GObject *self = NULL;
-
- if (self == NULL)
- {
- self = G_OBJECT_CLASS (ar_application_parent_class)->constructor (type,
- n_construct_params,
- construct_params);
- g_object_add_weak_pointer (self, (gpointer) &self);
- return self;
- }
-
- return g_object_ref (self);
-}
-
static void
ar_application_dispose (GObject *object)
{
@@ -356,7 +337,6 @@ ar_application_class_init (ArApplicationClass *class)
GObjectClass *object_class = G_OBJECT_CLASS (class);
GApplicationClass *application_class = G_APPLICATION_CLASS (class);
- object_class->constructor = ar_application_constructor;
object_class->dispose = ar_application_dispose;
application_class->activate = ar_application_activate;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]