Discussion:
[ekg-commit] r2853 - trunk/src
EKG commit list
2012-04-19 21:00:23 UTC
Permalink
Author: porridge
Date: 2012-04-19 23:00:23 +0200 (Thu, 19 Apr 2012)
New Revision: 2853

Modified:
trunk/src/ui-gtk.c
trunk/src/ui-gtk.h
Log:
Include/declare to fix "implicit declaration of function" warnings.

Modified: trunk/src/ui-gtk.c
===================================================================
--- trunk/src/ui-gtk.c 2012-04-17 21:16:52 UTC (rev 2852)
+++ trunk/src/ui-gtk.c 2012-04-19 21:00:23 UTC (rev 2853)
@@ -1,3 +1,4 @@
+#include <stdlib.h>
#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>

Modified: trunk/src/ui-gtk.h
===================================================================
--- trunk/src/ui-gtk.h 2012-04-17 21:16:52 UTC (rev 2852)
+++ trunk/src/ui-gtk.h 2012-04-19 21:00:23 UTC (rev 2853)
@@ -131,4 +131,8 @@

int key_handle_key_press(GtkWidget *wid, GdkEventKey *evt, window_t *sess);

+/* ui-maingui.c */
+void mg_changui_new(window_t *sess, int tab, int focus);
+void fe_close_window(window_t *sess);
+
#endif

Loading...