comparison gtk3/dw.c @ 2211:9395c1efa98b

GTK: _dw_app_id[] is not used with glib prior to 2.28 so move it into #ifdef
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 09 Dec 2020 04:35:40 +0000
parents 7677e1083d07
children 3e9c5bff0a57
comparison
equal deleted inserted replaced
2210:7677e1083d07 2211:9395c1efa98b
174 static void _dw_signal_disconnect(gpointer data, GClosure *closure); 174 static void _dw_signal_disconnect(gpointer data, GClosure *closure);
175 175
176 GObject *_DWObject = NULL; 176 GObject *_DWObject = NULL;
177 #if GLIB_CHECK_VERSION(2,28,0) 177 #if GLIB_CHECK_VERSION(2,28,0)
178 GApplication *_DWApp = NULL; 178 GApplication *_DWApp = NULL;
179 static char _dw_app_id[_DW_APP_ID_SIZE+1] = { 0 };
179 #endif 180 #endif
180 char *_DWDefaultFont = NULL; 181 char *_DWDefaultFont = NULL;
181 static char _dw_share_path[PATH_MAX+1] = { 0 }; 182 static char _dw_share_path[PATH_MAX+1] = { 0 };
182 static char _dw_app_id[_DW_APP_ID_SIZE+1] = { 0 };
183 183
184 typedef struct 184 typedef struct
185 { 185 {
186 void *func; 186 void *func;
187 char name[30]; 187 char name[30];