summaryrefslogtreecommitdiff
path: root/gtk/gtkruler.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/gtkruler.c
parent08f1c75cf13148f33973d4a2bce5a2fcbf77e9a2 (diff)
downloadgdk-pixbuf-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/gtkruler.c')
-rw-r--r--gtk/gtkruler.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkruler.c b/gtk/gtkruler.c
index 3dac4d60f..725cd0f75 100644
--- a/gtk/gtkruler.c
+++ b/gtk/gtkruler.c
@@ -48,10 +48,10 @@ static const GtkRulerMetric ruler_metrics[] =
};
-guint
+GtkType
gtk_ruler_get_type (void)
{
- static guint ruler_type = 0;
+ static GtkType ruler_type = 0;
if (!ruler_type)
{