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
This commit is contained in:
Shawn Amundson 1998-01-03 05:46:58 +00:00
parent 39f02b638b
commit 8eb36ebbd5
20 changed files with 58 additions and 8 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -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:

View File

@ -2233,6 +2233,7 @@ gdk_event_translate (GdkEvent *event,
return_val = window_private && !window_private->destroyed;
break;
default:
;
}
break;

View File

@ -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.

View File

@ -2233,6 +2233,7 @@ gdk_event_translate (GdkEvent *event,
return_val = window_private && !window_private->destroyed;
break;
default:
;
}
break;

View File

@ -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"

View File

@ -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>

View File

@ -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,

View File

@ -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"

View File

@ -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>

View File

@ -48,7 +48,7 @@ struct _GtkHPanedClass
guint gtk_hpaned_get_type (void);
GtkWidget* gtk_hpaned_new ();
GtkWidget* gtk_hpaned_new (void);
#ifdef __cplusplus

View File

@ -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

View File

@ -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];

View File

@ -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];

View File

@ -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];