Commit d4a79e90 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

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.
parent 3b6318bf
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>
* 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);
return GTK_WIDGET (g_object_new (GIMP_TYPE_GRID_EDITOR,
"grid", grid,
"xresolution", xresolution,
"yresolution", yresolution,
NULL));
return g_object_new (GIMP_TYPE_GRID_EDITOR,
"grid", grid,
"xresolution", xresolution,
"yresolution", yresolution,
NULL);
}
......@@ -247,8 +247,8 @@ gimp_stroke_editor_new (GimpStrokeOptions *options,
{
g_return_val_if_fail (GIMP_IS_STROKE_OPTIONS (options), NULL);
return GTK_WIDGET (g_object_new (GIMP_TYPE_STROKE_EDITOR,
"options", options,
"resolution", resolution,
NULL));
return g_object_new (GIMP_TYPE_STROKE_EDITOR,
"options", options,
"resolution", resolution,
NULL);
}
......@@ -29,11 +29,6 @@
#ifndef __PRINT_GIMP_H__
#define __PRINT_GIMP_H__
#ifdef __GNUC__
#define inline __inline__
#endif
/*
* All Gimp-specific code is in this file.
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment