From 4850edb29b6a7b887c41623badc49387b73762d7 Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Fri, 17 Sep 1999 18:17:20 +0000 Subject: Add gdk_threads_mutex. 1999-09-17 Tor Lillqvist * 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. --- gtk/gtkpreview.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkpreview.c') 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) { -- cgit v1.2.1