diff options
author | Bradley Smith | 2008-03-08 00:41:15 +0000 |
---|---|---|
committer | Bradley Smith | 2008-03-08 00:41:15 +0000 |
commit | 19a9f6592f2ea08a2efdadc8ec08a96cad201720 (patch) | |
tree | 0c7435f3a8dd1afdcf86a0d890a36a5aae27073a /lib/cursesplugin.c | |
parent | Add myself to copyright in changed files, and correct address. (diff) | |
download | gnurobots-19a9f6592f2ea08a2efdadc8ec08a96cad201720.tar.gz |
Add -Wall and -Wfatal-errors compile flags, and correct code to compile cleanly.
Signed-off-by: Bradley Smith <brad@brad-smith.co.uk>
Diffstat (limited to 'lib/cursesplugin.c')
-rw-r--r-- | lib/cursesplugin.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/cursesplugin.c b/lib/cursesplugin.c index 872ad15..06b1cba 100644 --- a/lib/cursesplugin.c +++ b/lib/cursesplugin.c @@ -124,17 +124,16 @@ curses_plugin_init (GObject * object) } static GObject * -curses_plugin_constructor (GType type, - guint n_construct_properties, +curses_plugin_constructor (GType type, + guint n_construct_properties, GObjectConstructParam *construct_properties) { GObject *object; CursesPlugin *curses; - gint color_pair; /* Chain up to the parent first */ object = parent_class->constructor (type, n_construct_properties, construct_properties); - + curses = CURSES_PLUGIN (object); /* Initialize curses mode */ |