diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-05-25 09:26:06 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-05-25 09:26:06 -0500 |
commit | 33f4e3d7024984b8b4f3b4fe0b1dfa4ec8ab5700 (patch) | |
tree | 45d7b5329456469f1808959c0e8e91a6601c5ad9 /src/indicator-power.h | |
parent | 4d1bb110b97fc1e9835d295cfcd30c7125a2380d (diff) | |
download | ayatana-indicator-power-33f4e3d7024984b8b4f3b4fe0b1dfa4ec8ab5700.tar.gz ayatana-indicator-power-33f4e3d7024984b8b4f3b4fe0b1dfa4ec8ab5700.tar.bz2 ayatana-indicator-power-33f4e3d7024984b8b4f3b4fe0b1dfa4ec8ab5700.zip |
put IndicatorPower's fields back inside a priv struct
Diffstat (limited to 'src/indicator-power.h')
-rw-r--r-- | src/indicator-power.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/src/indicator-power.h b/src/indicator-power.h index 6fadae3..39ac0ca 100644 --- a/src/indicator-power.h +++ b/src/indicator-power.h @@ -35,8 +35,9 @@ G_BEGIN_DECLS #define IS_INDICATOR_POWER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), INDICATOR_POWER_TYPE)) #define INDICATOR_POWER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), INDICATOR_POWER_TYPE, IndicatorPowerClass)) -typedef struct _IndicatorPowerClass IndicatorPowerClass; typedef struct _IndicatorPower IndicatorPower; +typedef struct _IndicatorPowerClass IndicatorPowerClass; +typedef struct _IndicatorPowerPrivate IndicatorPowerPrivate; struct _IndicatorPowerClass { @@ -46,21 +47,7 @@ struct _IndicatorPowerClass struct _IndicatorPower { IndicatorObject parent_instance; - - GtkMenu *menu; - - GtkLabel *label; - GtkImage *status_image; - gchar *accessible_desc; - - GCancellable *proxy_cancel; - GDBusProxy *proxy; - guint watcher_id; - - GVariant *devices; - GVariant *device; - - GSettings *settings; + IndicatorPowerPrivate * priv; }; GType indicator_power_get_type (void) G_GNUC_CONST; |