[SCM] Debian packaging for libhildon. branch, debian-patches, updated. upstream/2.1.34.debian.1-1-g3ab6a3b

Riku Voipio nchip at aardvark.home
Sun Mar 1 20:36:40 UTC 2009


The following commit has been merged in the debian-patches branch:
commit 3ab6a3b471a68fcd89f0ef41d7b00d69362caf0f
Author: Riku Voipio <riku.voipio at iki.fi>
Date:   Sun Mar 1 18:38:53 2009 +0200

    Add HildonSizeType back
    
    Because it was such a great idea from the desktop team to move
    HILDON_* defines to gtk+ under #MAEMO_CHANGES.

diff --git a/src/hildon-gtk.h b/src/hildon-gtk.h
index 15dd935..1ca0f7c 100644
--- a/src/hildon-gtk.h
+++ b/src/hildon-gtk.h
@@ -19,6 +19,16 @@
 
 #include                                        <gtk/gtk.h>
 
+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;
+
 G_BEGIN_DECLS
 
 GtkWidget *

-- 
Debian packaging for libhildon.



More information about the pkg-maemo-commits mailing list