wok-current view gcolor2/stuff/gcolor2-0.4-fno-common.patch @ rev 25788

Mass update to fix build with gcc10 and up others packages
author Stanislas Leduc <shann@slitaz.org>
date Tue Sep 30 07:43:04 2025 +0000 (13 days ago)
parents
children
line source
1 --- a/src/callbacks.c
2 +++ b/src/callbacks.c
3 @@ -13,6 +13,9 @@
4 #include "support.h"
7 +GtkWidget *gcolor2;
8 +GtkWidget *menu;
9 +GdkColor colorvalue;
10 GtkWidget *savedialog;
11 gchar *colorname;
12 static GtkWidget *aboutdialog = NULL;
13 --- a/src/callbacks.h
14 +++ b/src/callbacks.h
15 @@ -42,9 +42,9 @@
16 "\302\267 Usability / user interface enhancements\n" \
17 "\302\267 Code cleanup"
19 -GtkWidget *gcolor2;
20 -GtkWidget *menu;
21 -GdkColor colorvalue;
22 +extern GtkWidget *gcolor2;
23 +extern GtkWidget *menu;
24 +extern GdkColor colorvalue;
26 enum
27 {