From 19a9f6592f2ea08a2efdadc8ec08a96cad201720 Mon Sep 17 00:00:00 2001 From: Bradley Smith Date: Sat, 8 Mar 2008 00:41:15 +0000 Subject: Add -Wall and -Wfatal-errors compile flags, and correct code to compile cleanly. Signed-off-by: Bradley Smith --- lib/cursesplugin.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'lib/cursesplugin.c') 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 */ -- cgit v1.1