mirror of https://github.com/GNOME/gimp.git
don't try to define inline, glib does it for us.
2003-11-01 Manish Singh <yosh@gimp.org> * plug-ins/print/print_gimp.h: don't try to define inline, glib does it for us. * app/widgets/gimpgrideditor.c * app/widgets/gimpstrokeeditor.c: remove unnecessary GTK_WIDGET casts.
This commit is contained in:
parent
3b6318bff1
commit
d4a79e90b4
|
@ -1,3 +1,11 @@
|
||||||
|
2003-11-01 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/print/print_gimp.h: don't try to define inline, glib
|
||||||
|
does it for us.
|
||||||
|
|
||||||
|
* app/widgets/gimpgrideditor.c
|
||||||
|
* app/widgets/gimpstrokeeditor.c: remove unnecessary GTK_WIDGET casts.
|
||||||
|
|
||||||
2003-11-01 Manish Singh <yosh@gimp.org>
|
2003-11-01 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
|
* configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.
|
||||||
|
|
|
@ -345,9 +345,9 @@ gimp_grid_editor_new (GimpGrid *grid,
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GIMP_IS_GRID (grid), NULL);
|
g_return_val_if_fail (GIMP_IS_GRID (grid), NULL);
|
||||||
|
|
||||||
return GTK_WIDGET (g_object_new (GIMP_TYPE_GRID_EDITOR,
|
return g_object_new (GIMP_TYPE_GRID_EDITOR,
|
||||||
"grid", grid,
|
"grid", grid,
|
||||||
"xresolution", xresolution,
|
"xresolution", xresolution,
|
||||||
"yresolution", yresolution,
|
"yresolution", yresolution,
|
||||||
NULL));
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -247,8 +247,8 @@ gimp_stroke_editor_new (GimpStrokeOptions *options,
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (GIMP_IS_STROKE_OPTIONS (options), NULL);
|
g_return_val_if_fail (GIMP_IS_STROKE_OPTIONS (options), NULL);
|
||||||
|
|
||||||
return GTK_WIDGET (g_object_new (GIMP_TYPE_STROKE_EDITOR,
|
return g_object_new (GIMP_TYPE_STROKE_EDITOR,
|
||||||
"options", options,
|
"options", options,
|
||||||
"resolution", resolution,
|
"resolution", resolution,
|
||||||
NULL));
|
NULL);
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,11 +29,6 @@
|
||||||
#ifndef __PRINT_GIMP_H__
|
#ifndef __PRINT_GIMP_H__
|
||||||
#define __PRINT_GIMP_H__
|
#define __PRINT_GIMP_H__
|
||||||
|
|
||||||
#ifdef __GNUC__
|
|
||||||
#define inline __inline__
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* All Gimp-specific code is in this file.
|
* All Gimp-specific code is in this file.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue