summaryrefslogtreecommitdiff
path: root/lib/cursesplugin.c
diff options
context:
space:
mode:
authorBradley Smith2008-03-08 00:41:15 +0000
committerBradley Smith2008-03-08 00:41:15 +0000
commit19a9f6592f2ea08a2efdadc8ec08a96cad201720 (patch)
tree0c7435f3a8dd1afdcf86a0d890a36a5aae27073a /lib/cursesplugin.c
parentAdd myself to copyright in changed files, and correct address. (diff)
downloadgnurobots-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.c7
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 */