app: workaround warning about empty private struct
This commit is contained in:
@ -36,6 +36,7 @@ typedef struct _GimpCanvasItemPrivate GimpCanvasItemPrivate;
|
|||||||
|
|
||||||
struct _GimpCanvasItemPrivate
|
struct _GimpCanvasItemPrivate
|
||||||
{
|
{
|
||||||
|
gint unused; /* gobject doesn't like empty private structs */
|
||||||
};
|
};
|
||||||
|
|
||||||
#define GET_PRIVATE(item) \
|
#define GET_PRIVATE(item) \
|
||||||
|
@ -76,8 +76,7 @@ static GdkRegion * gimp_canvas_line_get_extents (GimpCanvasItem *item,
|
|||||||
GimpDisplayShell *shell);
|
GimpDisplayShell *shell);
|
||||||
|
|
||||||
|
|
||||||
G_DEFINE_TYPE (GimpCanvasLine, gimp_canvas_line,
|
G_DEFINE_TYPE (GimpCanvasLine, gimp_canvas_line, GIMP_TYPE_CANVAS_ITEM)
|
||||||
GIMP_TYPE_CANVAS_ITEM)
|
|
||||||
|
|
||||||
#define parent_class gimp_canvas_line_parent_class
|
#define parent_class gimp_canvas_line_parent_class
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user