summaryrefslogtreecommitdiff
path: root/gtk/gtkpreview.c
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>1999-09-17 18:17:20 +0000
committerTor Lillqvist <tml@src.gnome.org>1999-09-17 18:17:20 +0000
commit4850edb29b6a7b887c41623badc49387b73762d7 (patch)
tree5fedfcf10e78abf71f3800dcfd65478d62ef8574 /gtk/gtkpreview.c
parent08f1c75cf13148f33973d4a2bce5a2fcbf77e9a2 (diff)
downloadgtk+-4850edb29b6a7b887c41623badc49387b73762d7.tar.gz
Add gdk_threads_mutex.
1999-09-17 Tor Lillqvist <tml@iki.fi> * gdk/win32/gdk.def: Add gdk_threads_mutex. * gtk/makefile.msc: Correct path to libintl. Thanks to Tomi Ollila and Bernd Herd: Fix some inconsistencies in use of gint vs. int, and gint vs. gboolean in headers and definitions. Use GtkType for the *_get_type functions. Note that these changes preserve binary compatibility. * gdk/gdk.c * gdk/win32/gdk.c * gdk/gdk.h: Fix inconsistencies: gint vs int. * gtk/gtkmain.c * gtk/gtkclist.c * gtk/gtkmenufactory.c * gtk/gtknotebook.c * gtk/gtkwidget.c: Fix inconsistencies, also gint vs. gboolean. * gtk/gtkcolorsel.[ch] * gtk/gtkcombo.[ch] * gtk/gtkdrawingarea.[ch] * gtk/gtkgamma.[ch] * gtk/gtkhandlebox.[ch] * gtk/gtkhpaned.[ch] * gtk/gtkhruler.[ch] * gtk/gtkplug.[ch] * gtk/gtkpreview.[ch] * gtk/gtkruler.[ch] * gtk/gtksocket.[ch] * gtk/gtkstatusbar.[ch] * gtk/gtktoolbar.[ch] * gtk/gtkvbbox.[ch] * gtk/gtkvpaned.[ch] * gtk/gtkvruler.[ch]: Always use type GtkType for the *_get_type functions. * gtk/gtkgamma.h: Fix bug, missing () in call of gtk_gamma_curve_get_type() in GTK_GAMMA_CURVE_CLASS.
Diffstat (limited to 'gtk/gtkpreview.c')
-rw-r--r--gtk/gtkpreview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkpreview.c b/gtk/gtkpreview.c
index 02a2d9d46b..a2c4419c92 100644
--- a/gtk/gtkpreview.c
+++ b/gtk/gtkpreview.c
@@ -57,10 +57,10 @@ static GtkPreviewClass *preview_class = NULL;
static gint install_cmap = FALSE;
-guint
+GtkType
gtk_preview_get_type (void)
{
- static guint preview_type = 0;
+ static GtkType preview_type = 0;
if (!preview_type)
{