diff options
author | Shawn Amundson <amundson@src.gnome.org> | 1998-01-03 05:46:58 +0000 |
---|---|---|
committer | Shawn Amundson <amundson@src.gnome.org> | 1998-01-03 05:46:58 +0000 |
commit | 8eb36ebbd560a048814890dd652449aac97e85ed (patch) | |
tree | 5c35b1df719abdd7c1e26c672aa8888b3b5ff606 | |
parent | 39f02b638bd69903f2ceaddb875e22f5f2edbf2b (diff) | |
download | gtk+-8eb36ebbd560a048814890dd652449aac97e85ed.tar.gz |
Several portability fixes from Michael Callahan <callahan@xmission.com>
* Several portability fixes from Michael Callahan
<callahan@xmission.com> including adding in missing
#includes and adding void in function prototypes.
-Shawn
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-0 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-10 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-2 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-4 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-6 | 6 | ||||
-rw-r--r-- | ChangeLog.pre-2-8 | 6 | ||||
-rw-r--r-- | gdk/gdk.c | 1 | ||||
-rw-r--r-- | gdk/gdktypes.h | 2 | ||||
-rw-r--r-- | gdk/x11/gdkmain-x11.c | 1 | ||||
-rw-r--r-- | gtk/gtkbutton.c | 1 | ||||
-rw-r--r-- | gtk/gtkcurve.c | 1 | ||||
-rw-r--r-- | gtk/gtkfixed.h | 2 | ||||
-rw-r--r-- | gtk/gtkframe.c | 1 | ||||
-rw-r--r-- | gtk/gtkhandlebox.c | 1 | ||||
-rw-r--r-- | gtk/gtkhpaned.h | 2 | ||||
-rw-r--r-- | gtk/gtkinputdialog.h | 2 | ||||
-rw-r--r-- | gtk/gtktypeutils.c | 4 | ||||
-rw-r--r-- | gtk/testselection.c | 3 | ||||
-rw-r--r-- | tests/testselection.c | 3 |
20 files changed, 58 insertions, 8 deletions
@@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 4bfafa7d7d..2ade9d7f46 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 4bfafa7d7d..2ade9d7f46 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 4bfafa7d7d..2ade9d7f46 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 4bfafa7d7d..2ade9d7f46 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 4bfafa7d7d..2ade9d7f46 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 4bfafa7d7d..2ade9d7f46 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,9 @@ +Fri Jan 2 23:55:24 CST 1998 Shawn T. Amundson <amundson@gimp.org> + + * Several portability fixes from Michael Callahan + <callahan@xmission.com> including adding in missing + #includes and adding void in function prototypes. + Fri Jan 2 19:28:52 1988 Jay Painter <jpaint@serv.net> * gtk/gtkclist.h: * gtk/gtkclist.c: @@ -2233,6 +2233,7 @@ gdk_event_translate (GdkEvent *event, return_val = window_private && !window_private->destroyed; break; default: + ; } break; diff --git a/gdk/gdktypes.h b/gdk/gdktypes.h index a4ebe6501e..96398c3fca 100644 --- a/gdk/gdktypes.h +++ b/gdk/gdktypes.h @@ -197,7 +197,7 @@ typedef enum GDK_WA_COLORMAP = 1 << 5, GDK_WA_VISUAL = 1 << 6, GDK_WA_WMCLASS = 1 << 7, - GDK_WA_NOREDIR = 1 << 8, + GDK_WA_NOREDIR = 1 << 8 } GdkWindowAttributesType; /* Size restriction enumeration. diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c index 7820373249..4857bcc1f9 100644 --- a/gdk/x11/gdkmain-x11.c +++ b/gdk/x11/gdkmain-x11.c @@ -2233,6 +2233,7 @@ gdk_event_translate (GdkEvent *event, return_val = window_private && !window_private->destroyed; break; default: + ; } break; diff --git a/gtk/gtkbutton.c b/gtk/gtkbutton.c index 18afb177ac..39fc468b74 100644 --- a/gtk/gtkbutton.c +++ b/gtk/gtkbutton.c @@ -15,6 +15,7 @@ * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <string.h> #include "gtkbutton.h" #include "gtklabel.h" #include "gtkmain.h" diff --git a/gtk/gtkcurve.c b/gtk/gtkcurve.c index 93efd10150..e71785c5a1 100644 --- a/gtk/gtkcurve.c +++ b/gtk/gtkcurve.c @@ -15,6 +15,7 @@ * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdlib.h> #include <string.h> #include <math.h> diff --git a/gtk/gtkfixed.h b/gtk/gtkfixed.h index ee9c131a00..08fb9969f8 100644 --- a/gtk/gtkfixed.h +++ b/gtk/gtkfixed.h @@ -58,7 +58,7 @@ struct _GtkFixedChild guint gtk_fixed_get_type (void); -GtkWidget* gtk_fixed_new (); +GtkWidget* gtk_fixed_new (void); void gtk_fixed_put (GtkFixed *fixed, GtkWidget *widget, gint16 x, diff --git a/gtk/gtkframe.c b/gtk/gtkframe.c index a3160307eb..ad01a879fd 100644 --- a/gtk/gtkframe.c +++ b/gtk/gtkframe.c @@ -15,6 +15,7 @@ * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <string.h> #include "gtkframe.h" diff --git a/gtk/gtkhandlebox.c b/gtk/gtkhandlebox.c index 180c58fa51..82735d70af 100644 --- a/gtk/gtkhandlebox.c +++ b/gtk/gtkhandlebox.c @@ -15,6 +15,7 @@ * License along with this library; if not, write to the Free * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <stdlib.h> #include "gtksignal.h" #include "gtkhandlebox.h" #include <gdk/gdkx.h> diff --git a/gtk/gtkhpaned.h b/gtk/gtkhpaned.h index 0a352e7999..0903891fc1 100644 --- a/gtk/gtkhpaned.h +++ b/gtk/gtkhpaned.h @@ -48,7 +48,7 @@ struct _GtkHPanedClass guint gtk_hpaned_get_type (void); -GtkWidget* gtk_hpaned_new (); +GtkWidget* gtk_hpaned_new (void); #ifdef __cplusplus diff --git a/gtk/gtkinputdialog.h b/gtk/gtkinputdialog.h index 80a900090a..69146836f6 100644 --- a/gtk/gtkinputdialog.h +++ b/gtk/gtkinputdialog.h @@ -68,7 +68,7 @@ struct _GtkInputDialogClass guint gtk_input_dialog_get_type (void); -GtkWidget* gtk_input_dialog_new (); +GtkWidget* gtk_input_dialog_new (void); #ifdef __cplusplus diff --git a/gtk/gtktypeutils.c b/gtk/gtktypeutils.c index 46e035fd9a..ffde616475 100644 --- a/gtk/gtktypeutils.c +++ b/gtk/gtktypeutils.c @@ -45,7 +45,7 @@ static gint gtk_type_compare (GtkType *a, static guint gtk_type_name_hash (const char *key); static gint gtk_type_name_compare (const char *a, const char *b); -static void gtk_type_init_builtin_types (); +static void gtk_type_init_builtin_types (void); static int initialize = TRUE; @@ -395,7 +395,7 @@ gtk_type_register_builtin (char *name, return gtk_type_unique (parent, &info); } -extern void gtk_object_init_type (); +extern void gtk_object_init_type (void); GtkType gtk_type_builtins[GTK_TYPE_NUM_BUILTINS]; diff --git a/gtk/testselection.c b/gtk/testselection.c index 6f33be989d..15ea22573d 100644 --- a/gtk/testselection.c +++ b/gtk/testselection.c @@ -16,6 +16,7 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <string.h> #include "gtk.h" typedef enum { @@ -35,7 +36,7 @@ typedef enum { STRING, TEXT, WINDOW, - LAST_SEL_TYPE, + LAST_SEL_TYPE } SelType; GdkAtom seltypes[LAST_SEL_TYPE]; diff --git a/tests/testselection.c b/tests/testselection.c index 6f33be989d..15ea22573d 100644 --- a/tests/testselection.c +++ b/tests/testselection.c @@ -16,6 +16,7 @@ * Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ +#include <string.h> #include "gtk.h" typedef enum { @@ -35,7 +36,7 @@ typedef enum { STRING, TEXT, WINDOW, - LAST_SEL_TYPE, + LAST_SEL_TYPE } SelType; GdkAtom seltypes[LAST_SEL_TYPE]; |