From: Philip Chimento Date: Fri, 22 May 2009 23:04:05 +0000 (+0000) Subject: Eliminated warnings about static functions declared with G_GNUC_INTERNAL X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=08f8444e2ae5480eea1cf7e2c1e2eb57f46152db;p=rodin%2Fchimara.git Eliminated warnings about static functions declared with G_GNUC_INTERNAL git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@74 ddfedd41-794f-dd11-ae45-00112f111e67 --- diff --git a/src/input.c b/src/input.c index 81b1664..18a7ecb 100644 --- a/src/input.c +++ b/src/input.c @@ -2,6 +2,10 @@ #include "magic.h" #include "input.h" +/* Forward declarations */ +static int flush_text_buffer(winid_t win); +static int flush_text_grid(winid_t win); + /** * glk_request_char_event: * @win: A window to request char events from. diff --git a/src/input.h b/src/input.h index 14685e3..e4080fd 100644 --- a/src/input.h +++ b/src/input.h @@ -12,7 +12,5 @@ G_GNUC_INTERNAL gboolean on_window_key_press_event(GtkWidget *widget, GdkEventKey *event, winid_t win); G_GNUC_INTERNAL void after_window_insert_text(GtkTextBuffer *textbuffer, GtkTextIter *location, gchar *text, gint len, winid_t win); G_GNUC_INTERNAL void on_input_entry_activate(GtkEntry *input_entry, winid_t win); -G_GNUC_INTERNAL static int flush_text_buffer(winid_t win); -G_GNUC_INTERNAL static int flush_text_grid(winid_t win); #endif