From: Philip Chimento Date: Sat, 31 Aug 2013 22:46:33 +0000 (-0700) Subject: No need to include empty default signal handlers X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=4cea653ead429cf0dbc0b07f24bd791181176e03;p=projects%2Fchimara%2Fchimara.git No need to include empty default signal handlers --- diff --git a/libchimara/chimara-glk.c b/libchimara/chimara-glk.c index 90f9e9c..7185622 100644 --- a/libchimara/chimara-glk.c +++ b/libchimara/chimara-glk.c @@ -621,36 +621,6 @@ chimara_glk_started(ChimaraGlk *self) priv->running = TRUE; } -static void -chimara_glk_waiting(ChimaraGlk *self) -{ - /* Default signal handler */ -} - -static void -chimara_glk_char_input(ChimaraGlk *self, guint window_rock, guint keysym) -{ - /* Default signal handler */ -} - -static void -chimara_glk_line_input(ChimaraGlk *self, guint window_rock, gchar *text) -{ - /* Default signal handler */ -} - -static void -chimara_glk_text_buffer_output(ChimaraGlk *self, guint window_rock, gchar *text) -{ - /* Default signal handler */ -} - -static void -chimara_glk_iliad_screen_update(ChimaraGlk *self, gboolean typing) -{ - /* Default signal handler */ -} - static void chimara_glk_class_init(ChimaraGlkClass *klass) { @@ -674,11 +644,6 @@ chimara_glk_class_init(ChimaraGlkClass *klass) /* Signals */ klass->stopped = chimara_glk_stopped; klass->started = chimara_glk_started; - klass->waiting = chimara_glk_waiting; - klass->char_input = chimara_glk_char_input; - klass->line_input = chimara_glk_line_input; - klass->text_buffer_output = chimara_glk_text_buffer_output; - klass->iliad_screen_update = chimara_glk_iliad_screen_update; /** * ChimaraGlk::stopped: diff --git a/libchimara/chimara-if.c b/libchimara/chimara-if.c index 746bab0..0d99797 100644 --- a/libchimara/chimara-if.c +++ b/libchimara/chimara-if.c @@ -277,12 +277,6 @@ chimara_if_finalize(GObject *object) G_OBJECT_CLASS(chimara_if_parent_class)->finalize(object); } -static void -chimara_if_command(ChimaraIF *self, gchar *input, gchar *response) -{ - /* Default signal handler */ -} - static void chimara_if_class_init(ChimaraIFClass *klass) { @@ -293,7 +287,6 @@ chimara_if_class_init(ChimaraIFClass *klass) object_class->finalize = chimara_if_finalize; /* Signals */ - klass->command = chimara_if_command; /** * ChimaraIF::command: * @self: The widget that received the signal