Discussion:
[ekg-commit] r2849 - trunk/src
EKG commit list
2011-09-18 09:44:04 UTC
Permalink
Author: porridge
Date: 2011-09-18 11:44:03 +0200 (Sun, 18 Sep 2011)
New Revision: 2849

Modified:
trunk/src/ui-gtk-chanview-tabs.c
trunk/src/ui-gtk.c
Log:
Add missing includes and decls.

To avoid warnings about implicit conversions to pointers.

Since use of implicitly converted pointers is always fatal to the application
on ia64, they are errors.

https://bugs.launchpad.net/bugs/831200

Modified: trunk/src/ui-gtk-chanview-tabs.c
===================================================================
--- trunk/src/ui-gtk-chanview-tabs.c 2011-07-10 11:36:50 UTC (rev 2848)
+++ trunk/src/ui-gtk-chanview-tabs.c 2011-09-18 09:44:03 UTC (rev 2849)
@@ -210,6 +210,9 @@
return button;
}

+/* only defined in ui-gtk-maingui.c */
+GtkWidget *gtkutil_button(GtkWidget *box, char *stock, char *tip, void *callback, void *userdata, char *labeltext);
+
static void cv_tabs_init(chanview * cv)
{
GtkWidget *box, *hbox = NULL;

Modified: trunk/src/ui-gtk.c
===================================================================
--- trunk/src/ui-gtk.c 2011-07-10 11:36:50 UTC (rev 2848)
+++ trunk/src/ui-gtk.c 2011-09-18 09:44:03 UTC (rev 2849)
@@ -1,3 +1,4 @@
+#include <string.h>
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>

Loading...