gcalctool r2234 - in branches/gnome-2-24: . gcalctool



Author: rancell
Date: Thu Sep 25 06:08:25 2008
New Revision: 2234
URL: http://svn.gnome.org/viewvc/gcalctool?rev=2234&view=rev

Log:
Remove inline declaration so can compile in C89 (Jens Granseuer, Bug #553307)

Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/gcalctool/gtk.c

Modified: branches/gnome-2-24/gcalctool/gtk.c
==============================================================================
--- branches/gnome-2-24/gcalctool/gtk.c	(original)
+++ branches/gnome-2-24/gcalctool/gtk.c	Thu Sep 25 06:08:25 2008
@@ -1623,13 +1623,13 @@
 {
     double number;
     unsigned long long lval;
-    int n, MP1[MP_SIZE], index;
+    int n, MP1[MP_SIZE], index, ret;
 
     index = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(event_box),
                                               "bit_index"));
     n = MAXBITS - index - 1;
 
-    int ret = display_is_usable_number(&v->display, display_get_answer(&v->display));
+    ret = display_is_usable_number(&v->display, display_get_answer(&v->display));
     assert(!ret);
     mp_set_from_mp(display_get_answer(&v->display), MP1);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]