mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-23 20:30:15 +00:00
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.
This commit is contained in:
parent
08f1c75cf1
commit
4850edb29b
43
ChangeLog
43
ChangeLog
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -1,3 +1,46 @@
|
||||
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.
|
||||
|
||||
1999-09-14 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gdk/gdkcolor.c (gdk_colormap_new)
|
||||
|
@ -468,7 +468,7 @@ gdk_init (int *argc, char ***argv)
|
||||
*/
|
||||
|
||||
void
|
||||
gdk_exit (int errorcode)
|
||||
gdk_exit (gint errorcode)
|
||||
{
|
||||
/* de-initialisation is done by the gdk_exit_funct(),
|
||||
no need to do this here (Alex J.) */
|
||||
|
@ -964,8 +964,8 @@ gboolean gdk_region_empty (GdkRegion *region);
|
||||
gboolean gdk_region_equal (GdkRegion *region1,
|
||||
GdkRegion *region2);
|
||||
gboolean gdk_region_point_in (GdkRegion *region,
|
||||
int x,
|
||||
int y);
|
||||
gint x,
|
||||
gint y);
|
||||
GdkOverlapType gdk_region_rect_in (GdkRegion *region,
|
||||
GdkRectangle *rect);
|
||||
|
||||
|
@ -256,6 +256,7 @@ EXPORTS
|
||||
gdk_text_width_wc
|
||||
gdk_threads_enter
|
||||
gdk_threads_leave
|
||||
gdk_threads_mutex
|
||||
gdk_time_get
|
||||
gdk_timer_disable
|
||||
gdk_timer_enable
|
||||
|
@ -306,7 +306,7 @@ gdk_init (int *argc, char ***argv)
|
||||
*/
|
||||
|
||||
void
|
||||
gdk_exit (int errorcode)
|
||||
gdk_exit (gint errorcode)
|
||||
{
|
||||
/* de-initialisation is done by the gdk_exit_func(),
|
||||
no need to do this here (Alex J.) */
|
||||
|
@ -256,6 +256,7 @@ EXPORTS
|
||||
gdk_text_width_wc
|
||||
gdk_threads_enter
|
||||
gdk_threads_leave
|
||||
gdk_threads_mutex
|
||||
gdk_time_get
|
||||
gdk_timer_disable
|
||||
gdk_timer_enable
|
||||
|
@ -306,7 +306,7 @@ gdk_init (int *argc, char ***argv)
|
||||
*/
|
||||
|
||||
void
|
||||
gdk_exit (int errorcode)
|
||||
gdk_exit (gint errorcode)
|
||||
{
|
||||
/* de-initialisation is done by the gdk_exit_func(),
|
||||
no need to do this here (Alex J.) */
|
||||
|
@ -468,7 +468,7 @@ gdk_init (int *argc, char ***argv)
|
||||
*/
|
||||
|
||||
void
|
||||
gdk_exit (int errorcode)
|
||||
gdk_exit (gint errorcode)
|
||||
{
|
||||
/* de-initialisation is done by the gdk_exit_funct(),
|
||||
no need to do this here (Alex J.) */
|
||||
|
@ -1607,7 +1607,7 @@ gtk_clist_set_column_visibility (GtkCList *clist,
|
||||
void
|
||||
gtk_clist_set_column_resizeable (GtkCList *clist,
|
||||
gint column,
|
||||
gint resizeable)
|
||||
gboolean resizeable)
|
||||
{
|
||||
g_return_if_fail (clist != NULL);
|
||||
g_return_if_fail (GTK_IS_CLIST (clist));
|
||||
|
@ -219,10 +219,10 @@ static const scale_val_type scale_vals[NUM_CHANNELS] =
|
||||
{N_("Opacity:"), 0.0, 1.0, 0.01, 0.01, (SF) gtk_color_selection_opacity_updater}
|
||||
};
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_color_selection_get_type (void)
|
||||
{
|
||||
static guint color_selection_type = 0;
|
||||
static GtkType color_selection_type = 0;
|
||||
|
||||
if (!color_selection_type)
|
||||
{
|
||||
|
@ -122,7 +122,7 @@ struct _GtkColorSelectionDialogClass
|
||||
|
||||
/* ColorSelection */
|
||||
|
||||
guint gtk_color_selection_get_type (void);
|
||||
GtkType gtk_color_selection_get_type (void);
|
||||
|
||||
GtkWidget* gtk_color_selection_new (void);
|
||||
|
||||
|
@ -739,10 +739,10 @@ gtk_combo_init (GtkCombo * combo)
|
||||
GTK_SIGNAL_FUNC (gtk_combo_list_enter), combo);
|
||||
}
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_combo_get_type (void)
|
||||
{
|
||||
static guint combo_type = 0;
|
||||
static GtkType combo_type = 0;
|
||||
|
||||
if (!combo_type)
|
||||
{
|
||||
|
@ -67,7 +67,7 @@ struct _GtkComboClass {
|
||||
GtkHBoxClass parent_class;
|
||||
};
|
||||
|
||||
guint gtk_combo_get_type (void);
|
||||
GtkType gtk_combo_get_type (void);
|
||||
|
||||
GtkWidget *gtk_combo_new (void);
|
||||
/* the text in the entry must be or not be in the list */
|
||||
|
@ -35,10 +35,10 @@ static void gtk_drawing_area_size_allocate (GtkWidget *widget,
|
||||
static void gtk_drawing_area_send_configure (GtkDrawingArea *darea);
|
||||
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_drawing_area_get_type (void)
|
||||
{
|
||||
static guint drawing_area_type = 0;
|
||||
static GtkType drawing_area_type = 0;
|
||||
|
||||
if (!drawing_area_type)
|
||||
{
|
||||
|
@ -58,7 +58,7 @@ struct _GtkDrawingAreaClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_drawing_area_get_type (void);
|
||||
GtkType gtk_drawing_area_get_type (void);
|
||||
GtkWidget* gtk_drawing_area_new (void);
|
||||
void gtk_drawing_area_size (GtkDrawingArea *darea,
|
||||
gint width,
|
||||
|
@ -211,10 +211,10 @@ static const char *xpm[][27] =
|
||||
}
|
||||
};
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_gamma_curve_get_type (void)
|
||||
{
|
||||
static guint gamma_curve_type = 0;
|
||||
static GtkType gamma_curve_type = 0;
|
||||
|
||||
if (!gamma_curve_type)
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ extern "C" {
|
||||
#define GTK_GAMMA_CURVE(obj) \
|
||||
GTK_CHECK_CAST (obj, gtk_gamma_curve_get_type (), GtkGammaCurve)
|
||||
#define GTK_GAMMA_CURVE_CLASS(klass) \
|
||||
GTK_CHECK_CLASS_CAST (klass, gtk_gamma_curve_get_type, GtkGammaCurveClass)
|
||||
GTK_CHECK_CLASS_CAST (klass, gtk_gamma_curve_get_type (), GtkGammaCurveClass)
|
||||
#define GTK_IS_GAMMA_CURVE(obj) \
|
||||
GTK_CHECK_TYPE (obj, gtk_gamma_curve_get_type ())
|
||||
|
||||
@ -68,7 +68,7 @@ struct _GtkGammaCurveClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_gamma_curve_get_type (void);
|
||||
GtkType gtk_gamma_curve_get_type (void);
|
||||
GtkWidget* gtk_gamma_curve_new (void);
|
||||
|
||||
|
||||
|
@ -133,10 +133,10 @@ static GtkBinClass *parent_class;
|
||||
static guint handle_box_signals[SIGNAL_LAST] = { 0 };
|
||||
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_handle_box_get_type (void)
|
||||
{
|
||||
static guint handle_box_type = 0;
|
||||
static GtkType handle_box_type = 0;
|
||||
|
||||
if (!handle_box_type)
|
||||
{
|
||||
|
@ -85,7 +85,7 @@ struct _GtkHandleBoxClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_handle_box_get_type (void);
|
||||
GtkType gtk_handle_box_get_type (void);
|
||||
GtkWidget* gtk_handle_box_new (void);
|
||||
void gtk_handle_box_set_shadow_type (GtkHandleBox *handle_box,
|
||||
GtkShadowType type);
|
||||
|
@ -44,10 +44,10 @@ static gint gtk_hpaned_button_release (GtkWidget *widget,
|
||||
static gint gtk_hpaned_motion (GtkWidget *widget,
|
||||
GdkEventMotion *event);
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_hpaned_get_type (void)
|
||||
{
|
||||
static guint hpaned_type = 0;
|
||||
static GtkType hpaned_type = 0;
|
||||
|
||||
if (!hpaned_type)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ struct _GtkHPanedClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_hpaned_get_type (void);
|
||||
GtkType gtk_hpaned_get_type (void);
|
||||
GtkWidget* gtk_hpaned_new (void);
|
||||
|
||||
|
||||
|
@ -46,10 +46,10 @@ static void gtk_hruler_draw_ticks (GtkRuler *ruler);
|
||||
static void gtk_hruler_draw_pos (GtkRuler *ruler);
|
||||
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_hruler_get_type (void)
|
||||
{
|
||||
static guint hruler_type = 0;
|
||||
static GtkType hruler_type = 0;
|
||||
|
||||
if (!hruler_type)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ struct _GtkHRulerClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_hruler_get_type (void);
|
||||
GtkType gtk_hruler_get_type (void);
|
||||
GtkWidget* gtk_hruler_new (void);
|
||||
|
||||
|
||||
|
@ -473,7 +473,7 @@ gtk_init (int *argc, char ***argv)
|
||||
}
|
||||
|
||||
void
|
||||
gtk_exit (int errorcode)
|
||||
gtk_exit (gint errorcode)
|
||||
{
|
||||
/* Only if "gtk" has been initialized should we de-initialize.
|
||||
*/
|
||||
|
@ -420,7 +420,7 @@ gtk_menu_factory_make_widget (GtkMenuFactory *factory)
|
||||
static GtkMenuPath*
|
||||
gtk_menu_factory_get (GtkWidget *parent,
|
||||
const char *path,
|
||||
int flags)
|
||||
gint flags)
|
||||
{
|
||||
GtkMenuPath *menu_path;
|
||||
GList *tmp_list;
|
||||
|
@ -3811,7 +3811,7 @@ gtk_notebook_prev_page (GtkNotebook *notebook)
|
||||
*/
|
||||
void
|
||||
gtk_notebook_set_show_border (GtkNotebook *notebook,
|
||||
gint show_border)
|
||||
gboolean show_border)
|
||||
{
|
||||
g_return_if_fail (notebook != NULL);
|
||||
g_return_if_fail (GTK_IS_NOTEBOOK (notebook));
|
||||
|
@ -44,10 +44,10 @@ static void gtk_plug_set_focus (GtkWindow *window,
|
||||
/* From Tk */
|
||||
#define EMBEDDED_APP_WANTS_FOCUS NotifyNormal+20
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_plug_get_type ()
|
||||
{
|
||||
static guint plug_type = 0;
|
||||
static GtkType plug_type = 0;
|
||||
|
||||
if (!plug_type)
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ struct _GtkPlugClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_plug_get_type (void);
|
||||
GtkType gtk_plug_get_type (void);
|
||||
void gtk_plug_construct (GtkPlug *plug, guint32 socket_id);
|
||||
GtkWidget* gtk_plug_new (guint32 socket_id);
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -88,7 +88,7 @@ struct _GtkPreviewClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_preview_get_type (void);
|
||||
GtkType gtk_preview_get_type (void);
|
||||
void gtk_preview_uninit (void);
|
||||
GtkWidget* gtk_preview_new (GtkPreviewType type);
|
||||
void gtk_preview_size (GtkPreview *preview,
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -89,7 +89,7 @@ struct _GtkRulerMetric
|
||||
};
|
||||
|
||||
|
||||
guint gtk_ruler_get_type (void);
|
||||
GtkType gtk_ruler_get_type (void);
|
||||
void gtk_ruler_set_metric (GtkRuler *ruler,
|
||||
GtkMetricType metric);
|
||||
void gtk_ruler_set_range (GtkRuler *ruler,
|
||||
|
@ -63,10 +63,10 @@ static GdkFilterReturn gtk_socket_filter_func (GdkXEvent *gdk_xevent,
|
||||
|
||||
static GtkWidgetClass *parent_class = NULL;
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_socket_get_type ()
|
||||
{
|
||||
static guint socket_type = 0;
|
||||
static GtkType socket_type = 0;
|
||||
|
||||
if (!socket_type)
|
||||
{
|
||||
|
@ -64,7 +64,7 @@ struct _GtkSocketClass
|
||||
|
||||
|
||||
GtkWidget* gtk_socket_new (void);
|
||||
guint gtk_socket_get_type (void );
|
||||
GtkType gtk_socket_get_type (void );
|
||||
void gtk_socket_steal (GtkSocket *socket,
|
||||
guint32 wid);
|
||||
|
||||
|
@ -49,10 +49,10 @@ static void gtk_statusbar_update (GtkStatusbar *statusbar,
|
||||
static GtkContainerClass *parent_class;
|
||||
static guint statusbar_signals[SIGNAL_LAST] = { 0 };
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_statusbar_get_type (void)
|
||||
{
|
||||
static guint statusbar_type = 0;
|
||||
static GtkType statusbar_type = 0;
|
||||
|
||||
if (!statusbar_type)
|
||||
{
|
||||
|
@ -77,7 +77,7 @@ struct _GtkStatusbarMsg
|
||||
guint message_id;
|
||||
};
|
||||
|
||||
guint gtk_statusbar_get_type (void);
|
||||
GtkType gtk_statusbar_get_type (void);
|
||||
GtkWidget* gtk_statusbar_new (void);
|
||||
guint gtk_statusbar_get_context_id (GtkStatusbar *statusbar,
|
||||
const gchar *context_description);
|
||||
|
@ -86,10 +86,10 @@ static GtkContainerClass *parent_class;
|
||||
static guint toolbar_signals[LAST_SIGNAL] = { 0 };
|
||||
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_toolbar_get_type (void)
|
||||
{
|
||||
static guint toolbar_type = 0;
|
||||
static GtkType toolbar_type = 0;
|
||||
|
||||
if (!toolbar_type)
|
||||
{
|
||||
|
@ -102,7 +102,7 @@ struct _GtkToolbarClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_toolbar_get_type (void);
|
||||
GtkType gtk_toolbar_get_type (void);
|
||||
GtkWidget *gtk_toolbar_new (GtkOrientation orientation,
|
||||
GtkToolbarStyle style);
|
||||
|
||||
|
@ -37,10 +37,10 @@ static void gtk_vbutton_box_size_allocate (GtkWidget *widget,
|
||||
static gint default_spacing = 10;
|
||||
static GtkButtonBoxStyle default_layout_style = GTK_BUTTONBOX_EDGE;
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_vbutton_box_get_type (void)
|
||||
{
|
||||
static guint vbutton_box_type = 0;
|
||||
static GtkType vbutton_box_type = 0;
|
||||
|
||||
if (!vbutton_box_type)
|
||||
{
|
||||
|
@ -55,7 +55,7 @@ struct _GtkVButtonBoxClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_vbutton_box_get_type (void);
|
||||
GtkType gtk_vbutton_box_get_type (void);
|
||||
GtkWidget *gtk_vbutton_box_new (void);
|
||||
|
||||
/* buttons can be added by gtk_container_add() */
|
||||
|
@ -44,10 +44,10 @@ static gint gtk_vpaned_button_release (GtkWidget *widget,
|
||||
static gint gtk_vpaned_motion (GtkWidget *widget,
|
||||
GdkEventMotion *event);
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_vpaned_get_type (void)
|
||||
{
|
||||
static guint vpaned_type = 0;
|
||||
static GtkType vpaned_type = 0;
|
||||
|
||||
if (!vpaned_type)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ struct _GtkVPanedClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_vpaned_get_type (void);
|
||||
GtkType gtk_vpaned_get_type (void);
|
||||
GtkWidget* gtk_vpaned_new (void);
|
||||
|
||||
|
||||
|
@ -46,10 +46,10 @@ static void gtk_vruler_draw_ticks (GtkRuler *ruler);
|
||||
static void gtk_vruler_draw_pos (GtkRuler *ruler);
|
||||
|
||||
|
||||
guint
|
||||
GtkType
|
||||
gtk_vruler_get_type (void)
|
||||
{
|
||||
static guint vruler_type = 0;
|
||||
static GtkType vruler_type = 0;
|
||||
|
||||
if (!vruler_type)
|
||||
{
|
||||
|
@ -56,7 +56,7 @@ struct _GtkVRulerClass
|
||||
};
|
||||
|
||||
|
||||
guint gtk_vruler_get_type (void);
|
||||
GtkType gtk_vruler_get_type (void);
|
||||
GtkWidget* gtk_vruler_new (void);
|
||||
|
||||
|
||||
|
@ -3253,7 +3253,7 @@ gtk_widget_set_app_paintable (GtkWidget *widget,
|
||||
|
||||
void
|
||||
gtk_widget_set_sensitive (GtkWidget *widget,
|
||||
gint sensitive)
|
||||
gboolean sensitive)
|
||||
{
|
||||
GtkStateData data;
|
||||
|
||||
|
@ -44,7 +44,7 @@ GTK_VER=1.3
|
||||
|
||||
GDKSYSDEP = ..\gdk\win32
|
||||
GLIB = ..\..\glib
|
||||
INTL = ..\..\gettext-0.10.35
|
||||
INTL = ..\..\intl
|
||||
|
||||
CFLAGS = -I. -I.. -I$(GDKSYSDEP) -I$(GLIB) -I$(GLIB)\gmodule -I$(INTL) -DGTK_DISABLE_COMPAT_H
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user