diff options
author | Tor Lillqvist <tml@iki.fi> | 2000-04-13 21:29:11 +0000 |
---|---|---|
committer | Tor Lillqvist <tml@src.gnome.org> | 2000-04-13 21:29:11 +0000 |
commit | a61a5ffe80e24dac108977a869630bef8393ef76 (patch) | |
tree | 3ba6be03ab1637a16e707b4b4199915e03da8fe3 /gtk/gtksignal.c | |
parent | cf1a251f35d27607eb5af24a1f48d33eafc23114 (diff) | |
download | gtk+-a61a5ffe80e24dac108977a869630bef8393ef76.tar.gz |
Export the gtk_private_signals and gtk_private_n_signals variables, they
2000-04-14 Tor Lillqvist <tml@iki.fi>
* gtk/gtksignal.c: (Win32:) Export the gtk_private_signals and
gtk_private_n_signals variables, they are used by some software,
sigh.
* gtk/gtkrc.c (get_gtk_sysconf_directory): (Win32:) Fetch the
installation directory from the Registry, where the installer
should have put it.
Diffstat (limited to 'gtk/gtksignal.c')
-rw-r--r-- | gtk/gtksignal.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gtk/gtksignal.c b/gtk/gtksignal.c index 97ea7cf1d4..00326f483d 100644 --- a/gtk/gtksignal.c +++ b/gtk/gtksignal.c @@ -177,8 +177,13 @@ static GtkSignalDestroy global_destroy_notify = NULL; static guint gtk_handler_id = 1; static guint gtk_handler_quark = 0; static GHashTable *gtk_signal_hash_table = NULL; - GtkSignal *_gtk_private_signals = NULL; - guint _gtk_private_n_signals = 0; +#ifdef G_OS_WIN32 +#define EXPORT __declspec(dllexport) +#else +#define EXPORT +#endif +EXPORT GtkSignal *_gtk_private_signals = NULL; +EXPORT guint _gtk_private_n_signals = 0; static GMemChunk *gtk_signal_hash_mem_chunk = NULL; static GMemChunk *gtk_disconnect_info_mem_chunk = NULL; static GtkHandler *gtk_handler_free_list = NULL; |