summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/easygtk.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gtkext/easygtk.h b/src/gtkext/easygtk.h
index 242f349..e46efee 100644
--- a/src/gtkext/easygtk.h
+++ b/src/gtkext/easygtk.h
@@ -28,6 +28,9 @@
#include <gtk/gtk.h>
+/* Conversion anonyme */
+#define ALLOC_2_REQ(a) ((GtkRequisition []){ { .width = (a)->width, .height = (a)->height }})
+
/* Met en place un aligement dont les bordures sont à ajuster. */
GtkWidget *qck_create_padded_alignment(guint, guint, guint, guint);