diff options
-rw-r--r-- | libmate-desktop/mate-colorsel.c | 6 | ||||
-rw-r--r-- | mate-about/mate-about.h.in | 2 |
2 files changed, 4 insertions, 4 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 (); diff --git a/mate-about/mate-about.h.in b/mate-about/mate-about.h.in index bef6f8d..503a513 100644 --- a/mate-about/mate-about.h.in +++ b/mate-about/mate-about.h.in @@ -664,7 +664,7 @@ static void mate_about_on_activate(GtkApplication* app); // arguments definitions static GOptionEntry command_entries[] = { {"version", 'v', 0, G_OPTION_ARG_NONE, &mate_about_nogui, "Show MATE version", NULL}, - {NULL} + {NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, NULL} }; #endif /* __MATE_ABOUT_H__ */ |