diff options
| author | Pietro Gagliardi <[email protected]> | 2015-04-08 16:24:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-04-08 16:24:11 -0400 |
| commit | abf976ef44f1241433dbacd68481cf3b18ca194f (patch) | |
| tree | fbb31deb8517b9117168a3ddd0f19312cbff4d7a /new/ui_unix.h | |
| parent | 090977fa0a9d124a0be121d420733dcb061e3cf7 (diff) | |
Removed the need for specifying if a GTK+ widget needs to be in a GtkViewport for it to be scrollable; the new control code finds out itself now in the same way newer versions of GTK+ do.
Diffstat (limited to 'new/ui_unix.h')
| -rw-r--r-- | new/ui_unix.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/new/ui_unix.h b/new/ui_unix.h index 06b6ed8..4e4f6e8 100644 --- a/new/ui_unix.h +++ b/new/ui_unix.h @@ -9,10 +9,10 @@ This file assumes that you have included <gtk/gtk.h> and "ui.h" beforehand. It p // uiUnixNewControl() creates a new uiControl with the given GTK+ control inside. // The first parameter is the type of the control, as passed to the first argument of g_object_new(). -// The three scrolledWindow parameters allow placing scrollbars on the new control. +// The two scrolledWindow parameters allow placing scrollbars on the new control. // The data parameter can be accessed with uiUnixControlData(). // The firstProperty parameter and beyond allow passing construct properties to the new control, as with g_object_new(); end this list with NULL. -extern uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean needsViewport, gboolean scrolledWindowHasBorder, void *data, const char *firstProperty, ...); +extern uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean scrolledWindowHasBorder, void *data, const char *firstProperty, ...); extern void *uiUnixControlData(uiControl *c); #endif |
