summaryrefslogtreecommitdiff
path: root/new/ui_unix.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-15 19:46:24 -0400
committerPietro Gagliardi <[email protected]>2015-04-15 19:46:24 -0400
commita25f49e7e6a15e4c27c51dea65df67ed3bfa7163 (patch)
tree79df47b53cd4336af49d1615e8276cfacec45a15 /new/ui_unix.h
parentbb0c52ee4ea98b679dba89e8988bd960d12c737a (diff)
Started doing conversion of the GTK+ backend...
Diffstat (limited to 'new/ui_unix.h')
-rw-r--r--new/ui_unix.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/new/ui_unix.h b/new/ui_unix.h
index 1fa341d..3911416 100644
--- a/new/ui_unix.h
+++ b/new/ui_unix.h
@@ -7,11 +7,11 @@ This file assumes that you have included <gtk/gtk.h> and "ui.h" beforehand. It p
#ifndef __UI_UI_UNIX_H__
#define __UI_UI_UNIX_H__
-// 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().
+// uiUnixNewControl() creates a new uiControl with the given GTK+ control inside, storing it in the uiControl at c.
+// The second parameter is the type of the control, as passed to the first argument of g_object_new().
// The two scrolledWindow parameters allow placing scrollbars on the new control.
// 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 scrolledWindowHasBorder, const char *firstProperty, ...);
+extern void uiUnixNewControl(uiControl *c, GType type, gboolean inScrolledWindow, gboolean scrolledWindowHasBorder, const char *firstProperty, ...);
struct uiSizingSys {
// this structure currently left blank