aboutsummaryrefslogtreecommitdiff
path: root/src/app-indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-12-08 09:38:31 -0600
committerTed Gould <ted@gould.cx>2010-12-08 09:38:31 -0600
commit9530e6993889a539081131ab1bd14635062569fa (patch)
tree2677dda2c9772b893aeaadfc4041e661cf800144 /src/app-indicator.c
parent02fba603a52ee6c65c5f583071788f8017f8f7de (diff)
downloadlibayatana-appindicator-9530e6993889a539081131ab1bd14635062569fa.tar.gz
libayatana-appindicator-9530e6993889a539081131ab1bd14635062569fa.tar.bz2
libayatana-appindicator-9530e6993889a539081131ab1bd14635062569fa.zip
Dropping the 'MENU' property as we don't need it.
Diffstat (limited to 'src/app-indicator.c')
-rw-r--r--src/app-indicator.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index 5260f58..3ecf9c5 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -31,9 +31,6 @@ License version 3 and version 2.1 along with this program. If not, see
#include "config.h"
#endif
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus-glib-bindings.h>
-
#include <libdbusmenu-glib/menuitem.h>
#include <libdbusmenu-glib/server.h>
#ifdef HAVE_GTK3
@@ -124,7 +121,6 @@ enum {
PROP_ICON_NAME,
PROP_ATTENTION_ICON_NAME,
PROP_ICON_THEME_PATH,
- PROP_MENU,
PROP_CONNECTED,
PROP_LABEL,
PROP_LABEL_GUIDE,
@@ -139,7 +135,6 @@ enum {
#define PROP_ICON_NAME_S "icon-name"
#define PROP_ATTENTION_ICON_NAME_S "attention-icon-name"
#define PROP_ICON_THEME_PATH_S "icon-theme-path"
-#define PROP_MENU_S "menu"
#define PROP_CONNECTED_S "connected"
#define PROP_LABEL_S "label"
#define PROP_LABEL_GUIDE_S "label-guide"
@@ -303,19 +298,6 @@ app_indicator_class_init (AppIndicatorClass *klass)
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_CONSTRUCT));
/**
- AppIndicator:menu:
-
- A method for getting the menu path as a string for DBus.
- */
- g_object_class_install_property(object_class,
- PROP_MENU,
- g_param_spec_boxed (PROP_MENU_S,
- "The object path of the menu on DBus.",
- "A method for getting the menu path as a string for DBus.",
- DBUS_TYPE_G_OBJECT_PATH,
- G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
-
- /**
AppIndicator:connected:
Pretty simple, %TRUE if we have a reasonable expectation of being
@@ -854,16 +836,6 @@ app_indicator_get_property (GObject * object, guint prop_id, GValue * value, GPa
g_value_set_string (value, priv->icon_theme_path);
break;
- case PROP_MENU:
- if (priv->menuservice != NULL) {
- GValue strval = { 0 };
- g_value_init(&strval, G_TYPE_STRING);
- g_object_get_property (G_OBJECT (priv->menuservice), DBUSMENU_SERVER_PROP_DBUS_OBJECT, &strval);
- g_value_set_boxed(value, g_value_get_string(&strval));
- g_value_unset(&strval);
- }
- break;
-
case PROP_CONNECTED: {
gboolean connected = FALSE;