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:
Manish Singh 2003-11-01 20:21:26 +00:00 committed by Manish Singh
parent 3b6318bff1
commit d4a79e90b4
4 changed files with 17 additions and 14 deletions

View File

@ -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>
* configure.in: Only add FOO_DISABLE_DEPRECATED flags with GTK+ 2.2.x.

View File

@ -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);
}

View File

@ -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);
}

View File

@ -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.
*/