Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2003:
[Freeciv-Dev] (PR#4002) gtk2 compiler warning
Home

[Freeciv-Dev] (PR#4002) gtk2 compiler warning

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#4002) gtk2 compiler warning
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 14 Apr 2003 08:19:30 -0700
Reply-to: rt@xxxxxxxxxxxxxx

The attached patch fixes a compiler warning in gui-gtk-2.0.

jason

Index: client/gui-gtk-2.0/wldlg.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/gui-gtk-2.0/wldlg.c,v
retrieving revision 1.12
diff -u -r1.12 wldlg.c
--- client/gui-gtk-2.0/wldlg.c  2003/04/13 23:22:58     1.12
+++ client/gui-gtk-2.0/wldlg.c  2003/04/14 15:15:48
@@ -54,7 +54,7 @@
 static GtkListStore *worklists_store;
 
 
-static GtkWidget *popup_worklist(struct worklist *pwl);
+static void popup_worklist(struct worklist *pwl);
 static void popdown_worklist(struct worklist *pwl);
 
 
@@ -342,7 +342,7 @@
 /****************************************************************
 ...
 *****************************************************************/
-static GtkWidget *popup_worklist(struct worklist *pwl)
+static void popup_worklist(struct worklist *pwl)
 {
   GtkWidget *shell;
 

[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#4002) gtk2 compiler warning, Jason Short <=