Some minor cleanup
authorrodin <rodin@ddfedd41-794f-dd11-ae45-00112f111e67>
Tue, 11 May 2010 10:31:01 +0000 (10:31 +0000)
committerrodin <rodin@ddfedd41-794f-dd11-ae45-00112f111e67>
Tue, 11 May 2010 10:31:01 +0000 (10:31 +0000)
libchimara/input.c
libchimara/pager.h
libchimara/strio.c

index d59191641ac2d892eb40ddec1e8215eddf09b83d..648f44f03ae0a16c880071d433ec0093844ad123 100644 (file)
@@ -33,12 +33,6 @@ request_char_event_common(winid_t win, gboolean unicode)
 
        /* Emit the "waiting" signal to let listeners know we are ready for input */
        g_signal_emit_by_name(glk_data->self, "waiting");
-
-       /* Schedule a check for the pager */
-       /*
-       if(win->type == wintype_TextBuffer)
-               g_idle_add(pager_check, win);
-       */
 }
 
 /**
@@ -203,11 +197,6 @@ text_buffer_request_line_event_common(winid_t win, glui32 maxlen, gboolean inser
        gtk_widget_grab_focus(win->widget);
 
        gdk_threads_leave();
-
-       /* Schedule a check for the pager */
-       /*
-               g_idle_add(pager_check, win);
-               */
 }
 
 /**
index 7353b3fc87c66ad079cc18bfcf9a531a51c885e6..04c92ec4cebf74994f885a5d41c4858bf7dfa3c8 100644 (file)
@@ -10,7 +10,7 @@ G_GNUC_INTERNAL gboolean pager_on_key_press_event(GtkTextView *textview, GdkEven
 G_GNUC_INTERNAL void pager_after_adjustment_changed(GtkAdjustment *adj, winid_t win);
 G_GNUC_INTERNAL gboolean pager_check(gpointer data);
 G_GNUC_INTERNAL gboolean pager_after_expose_event(GtkTextView *textview, GdkEventExpose *event, winid_t win);
-
 G_GNUC_INTERNAL void pager_after_size_request(GtkTextView *textview, GtkRequisition *requisition, winid_t win);
+G_GNUC_INTERNAL void pager_update(winid_t win);
 
 #endif
index d0404931508a1d70d87e0842129b59542d24ff54..66fb989c40622473e55d33821318e4f25353abda 100644 (file)
@@ -4,7 +4,6 @@
 #include <errno.h>
 #include <stdio.h>
 #include <string.h>
-#include <pager.h>
 #include <glib.h>
 #include <glib/gstdio.h>