diff options
author | Cody Russell <crussell@canonical.com> | 2010-03-16 11:40:14 -0500 |
---|---|---|
committer | Cody Russell <crussell@canonical.com> | 2010-03-16 11:40:14 -0500 |
commit | 02d3dde87c8fcf2702741ab265dbaa24d498cd51 (patch) | |
tree | c059a878ed9b294cba4464e13c040d803621e899 /libindicator/indicator-object.h | |
parent | 4adb9ab724e53a65603fe53abbb96304a8cab260 (diff) | |
download | libayatana-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.h | 11 |
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)) |