From: Marijn van Vliet Date: Tue, 11 May 2010 10:31:01 +0000 (+0000) Subject: Some minor cleanup X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;ds=inline;h=0edb4482f7a5d5de3b2fe82ad9a4b977eacb8721;p=rodin%2Fchimara.git Some minor cleanup git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@273 ddfedd41-794f-dd11-ae45-00112f111e67 --- diff --git a/libchimara/input.c b/libchimara/input.c index d591916..648f44f 100644 --- a/libchimara/input.c +++ b/libchimara/input.c @@ -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); - */ } /** diff --git a/libchimara/pager.h b/libchimara/pager.h index 7353b3f..04c92ec 100644 --- a/libchimara/pager.h +++ b/libchimara/pager.h @@ -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 diff --git a/libchimara/strio.c b/libchimara/strio.c index d040493..66fb989 100644 --- a/libchimara/strio.c +++ b/libchimara/strio.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #include