diff options
author | Tor Lillqvist <tml@iki.fi> | 2002-04-18 11:21:21 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2002-04-18 11:21:21 +0000 |
commit | 40d637ec03335d14e98bd3e752baa304f0efbc1f (patch) | |
tree | b32147eba468ad5181a5f7f6bd400b76c4a9310e /gtk/gtkmain.h | |
parent | a3045c84efae261c03ddde84df7f4ecf03a4c97b (diff) | |
download | gtk+-40d637ec03335d14e98bd3e752baa304f0efbc1f.tar.gz |
gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib) Fix typo, thanks to
2002-04-18 Tor Lillqvist <tml@iki.fi>
* gdk-pixbuf/Makefile.am (uninstall-libtool-import-lib)
* gdk/Makefile.am (uninstall-libtool-import-lib): Fix typo,
thanks to David Sterba for noticing.
* gtk/gtkmain.h
* gtk/gtkmain.c (gtk_init_abi_check, gtk_init_check_abi_check): In
GTK+ 2.0 the GtkWindow struct actually is the same size in gcc on
Win32 whether compiled with -fnative-struct or not. Unfortunately
this wan't noticed until now. So, from now on, check some other
struct, too, for which the use of -fnative-struct still
matters. GtkBox is one such.
Diffstat (limited to 'gtk/gtkmain.h')
-rw-r--r-- | gtk/gtkmain.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gtk/gtkmain.h b/gtk/gtkmain.h index 83d66de305..7ca018e586 100644 --- a/gtk/gtkmain.h +++ b/gtk/gtkmain.h @@ -98,14 +98,16 @@ gboolean gtk_init_check (int *argc, void gtk_init_abi_check (int *argc, char ***argv, int num_checks, - size_t sizeof_GtkWindow); + size_t sizeof_GtkWindow, + size_t sizeof_GtkBox); gboolean gtk_init_check_abi_check (int *argc, char ***argv, int num_checks, - size_t sizeof_GtkWindow); + size_t sizeof_GtkWindow, + size_t sizeof_GtkBox); -#define gtk_init(argc, argv) gtk_init_abi_check (argc, argv, 1, sizeof (GtkWindow)) -#define gtk_init_check(argc, argv) gtk_init_check_abi_check (argc, argv, 1, sizeof (GtkWindow)) +#define gtk_init(argc, argv) gtk_init_abi_check (argc, argv, 2, sizeof (GtkWindow), sizeof (GtkBox)) +#define gtk_init_check(argc, argv) gtk_init_check_abi_check (argc, argv, 2, sizeof (GtkWindow), sizeof (GtkBox)) #endif |