summaryrefslogtreecommitdiff
path: root/src/gtkext/easygtk.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2012-10-07 16:00:59 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2012-10-07 16:00:59 (GMT)
commitb75a1889afa207051395b0288890b5b197c87b75 (patch)
treea22e9506a9fabb7791a96c1d32bf67c0fda65a3e /src/gtkext/easygtk.h
parentfa83bc71888fed39bcc77ad610ffd6f6980444f8 (diff)
Tried to resize the panels when the editor is resized.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@265 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/easygtk.h')
-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);