summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-10-28 13:49:11 +0200
committerLuke from DC <[email protected]>2022-08-20 20:07:33 +0000
commit0f2374f59767e2117456a88ada65e207fa471cd6 (patch)
tree27cc7278f11c26d046135d7d0bbae389a48dbc4e /libmate-desktop
parentb9a25a4f24ffb23874e0923f63c75149f13b071c (diff)
downloadmate-desktop-0f2374f59767e2117456a88ada65e207fa471cd6.tar.bz2
mate-desktop-0f2374f59767e2117456a88ada65e207fa471cd6.tar.xz
Fix build warnings about missing field initializer
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-colorsel.c6
1 files changed, 3 insertions, 3 deletions
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 ();