From 0f2374f59767e2117456a88ada65e207fa471cd6 Mon Sep 17 00:00:00 2001 From: rbuj Date: Thu, 28 Oct 2021 13:49:11 +0200 Subject: Fix build warnings about missing field initializer --- libmate-desktop/mate-colorsel.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libmate-desktop') diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c index 1bd5107..16dc81e 100644 --- a/libmate-desktop/mate-colorsel.c +++ b/libmate-desktop/mate-colorsel.c @@ -892,7 +892,7 @@ static void color_sample_setup_dnd (MateColorSelection *colorsel, GtkWidget *sample) { static const GtkTargetEntry targets[] = { - { "application/x-color", 0 } + { .target = "application/x-color", .flags = 0, .info = 0 } }; MateColorSelectionPrivate *priv; priv = colorsel->private_data; @@ -1258,7 +1258,7 @@ palette_set_color (GtkWidget *drawing_area, if (!pointer || GPOINTER_TO_INT (pointer) == 0) { static const GtkTargetEntry targets[] = { - { "application/x-color", 0 } + { .target = "application/x-color", .flags = 0, .info = 0 } }; gtk_drag_source_set (drawing_area, GDK_BUTTON1_MASK | GDK_BUTTON3_MASK, @@ -1539,7 +1539,7 @@ static GtkWidget* palette_new (MateColorSelection *colorsel) { static const GtkTargetEntry targets[] = { - { "application/x-color", 0 } + { .target = "application/x-color", .flags = 0, .info = 0 } }; GtkWidget *retval = gtk_drawing_area_new (); -- cgit v1.2.1