From b30fe1d6a992140d9434774c2afdc52cea68d24a Mon Sep 17 00:00:00 2001 From: Tomasz Sterna Date: Mon, 14 Nov 2011 19:57:49 +0100 Subject: Merged fix-hildonsizetype.patch --- hildon/hildon-gtk.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/hildon/hildon-gtk.h b/hildon/hildon-gtk.h index 2861f58..6473691 100644 --- a/hildon/hildon-gtk.h +++ b/hildon/hildon-gtk.h @@ -21,6 +21,19 @@ G_BEGIN_DECLS +#ifndef MAEMO_GTK +typedef enum { + HILDON_SIZE_AUTO_WIDTH = 0 << 0, /* set to automatic width */ + HILDON_SIZE_HALFSCREEN_WIDTH = 1 << 0, /* set to 50% screen width */ + HILDON_SIZE_FULLSCREEN_WIDTH = 2 << 0, /* set to 100% screen width */ + HILDON_SIZE_AUTO_HEIGHT = 0 << 2, /* set to automatic height */ + HILDON_SIZE_FINGER_HEIGHT = 1 << 2, /* set to finger height */ + HILDON_SIZE_THUMB_HEIGHT = 2 << 2, /* set to thumb height */ + HILDON_SIZE_AUTO = (HILDON_SIZE_AUTO_WIDTH | HILDON_SIZE_AUTO_HEIGHT) +} HildonSizeType; +#endif /* MAEMO_GTK */ + + GtkWidget * hildon_gtk_menu_new (void); -- cgit v1.2.3-18-g5258