aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.h
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-03-16 11:40:14 -0500
committerCody Russell <crussell@canonical.com>2010-03-16 11:40:14 -0500
commit02d3dde87c8fcf2702741ab265dbaa24d498cd51 (patch)
treec059a878ed9b294cba4464e13c040d803621e899 /libindicator/indicator-object.h
parent4adb9ab724e53a65603fe53abbb96304a8cab260 (diff)
downloadlibayatana-indicator-02d3dde87c8fcf2702741ab265dbaa24d498cd51.tar.gz
libayatana-indicator-02d3dde87c8fcf2702741ab265dbaa24d498cd51.tar.bz2
libayatana-indicator-02d3dde87c8fcf2702741ab265dbaa24d498cd51.zip
Define IndicatorScrollDirection enum for scroll signal parameter.
Diffstat (limited to 'libindicator/indicator-object.h')
-rw-r--r--libindicator/indicator-object.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/libindicator/indicator-object.h b/libindicator/indicator-object.h
index 335dc0d..7bd296d 100644
--- a/libindicator/indicator-object.h
+++ b/libindicator/indicator-object.h
@@ -24,11 +24,18 @@ License along with this library. If not, see
#ifndef __INDICATOR_OBJECT_H__
#define __INDICATOR_OBJECT_H__
-#include <glib.h>
-#include <glib-object.h>
+#include <gtk/gtk.h>
G_BEGIN_DECLS
+typedef enum
+{
+ INDICATOR_OBJECT_SCROLL_UP,
+ INDICATOR_OBJECT_SCROLL_DOWN,
+ INDICATOR_OBJECT_SCROLL_LEFT,
+ INDICATOR_OBJECT_SCROLL_RIGHT
+} IndicatorScrollDirection;
+
#define INDICATOR_OBJECT_TYPE (indicator_object_get_type ())
#define INDICATOR_OBJECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_OBJECT_TYPE, IndicatorObject))
#define INDICATOR_OBJECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), INDICATOR_OBJECT_TYPE, IndicatorObjectClass))