No need to include empty default signal handlers
authorPhilip Chimento <philip.chimento@gmail.com>
Sat, 31 Aug 2013 22:46:33 +0000 (15:46 -0700)
committerPhilip Chimento <philip.chimento@gmail.com>
Mon, 9 Sep 2013 04:13:55 +0000 (21:13 -0700)
libchimara/chimara-glk.c
libchimara/chimara-if.c

index 90f9e9c90096ebcab438e30da7724b52f7146591..718562218509b149f13656612c4847f96550436d 100644 (file)
@@ -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:
index 746bab0fd2512d3dbb22cc308e6c92e6fb0c4705..0d9979741a819385b2131dc046c971ace2bc2b65 100644 (file)
@@ -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