diff options
author | Jason Conti <jason.conti@gmail.com> | 2011-05-09 17:20:20 -0400 |
---|---|---|
committer | Jason Conti <jason.conti@gmail.com> | 2011-05-09 17:20:20 -0400 |
commit | f088511f463b9d28f47409a8fa230d8d59725f7d (patch) | |
tree | b72458275efc61cbb987e189841b7c658cd9847a /src/indicator-example.c | |
parent | 064c67947dbd7930408a3136c41998dbb48cd5ad (diff) | |
download | ayatana-indicator-notifications-f088511f463b9d28f47409a8fa230d8d59725f7d.tar.gz ayatana-indicator-notifications-f088511f463b9d28f47409a8fa230d8d59725f7d.tar.bz2 ayatana-indicator-notifications-f088511f463b9d28f47409a8fa230d8d59725f7d.zip |
Removing the unnecessary size group
Diffstat (limited to 'src/indicator-example.c')
-rw-r--r-- | src/indicator-example.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/indicator-example.c b/src/indicator-example.c index abfa063..11babe5 100644 --- a/src/indicator-example.c +++ b/src/indicator-example.c @@ -76,8 +76,6 @@ struct _IndicatorExamplePrivate { GCancellable *service_proxy_cancel; GDBusProxy *service_proxy; - - GtkSizeGroup *indicator_right_group; }; typedef struct _indicator_item_t indicator_item_t; @@ -85,9 +83,7 @@ struct _indicator_item_t { IndicatorExample *self; DbusmenuMenuitem *mi; GtkWidget *gmi; - GtkWidget *icon; GtkWidget *label; - GtkWidget *right; }; #define INDICATOR_EXAMPLE_GET_PRIVATE(o) \ @@ -157,7 +153,6 @@ indicator_example_init(IndicatorExample *self) self->priv->menu = NULL; self->priv->sm = indicator_service_manager_new_version(SERVICE_NAME, SERVICE_VERSION); - self->priv->indicator_right_group = GTK_SIZE_GROUP(gtk_size_group_new(GTK_SIZE_GROUP_HORIZONTAL)); self->priv->menu = dbusmenu_gtkmenu_new(SERVICE_NAME, MENU_OBJ); @@ -240,11 +235,6 @@ indicator_example_dispose(GObject *object) self->priv->service_proxy = NULL; } - if(self->priv->indicator_right_group != NULL) { - g_object_unref(G_OBJECT(self->priv->indicator_right_group)); - self->priv->indicator_right_group = NULL; - } - G_OBJECT_CLASS (indicator_example_parent_class)->dispose (object); return; } |