comparison gtk/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
124 GdkPixmap *_dw_tmppixmap = NULL; 124 GdkPixmap *_dw_tmppixmap = NULL;
125 GdkBitmap *_dw_tmpbitmap = NULL; 125 GdkBitmap *_dw_tmpbitmap = NULL;
126 126
127 #if GLIB_CHECK_VERSION(2,28,0) 127 #if GLIB_CHECK_VERSION(2,28,0)
128 GApplication *_DWApp = NULL; 128 GApplication *_DWApp = NULL;
129 static char _dw_app_id[_DW_APP_ID_SIZE+1] = { 0 };
129 #endif 130 #endif
130 char *_DWDefaultFont = NULL; 131 char *_DWDefaultFont = NULL;
131 static char _dw_share_path[PATH_MAX+1] = { 0 }; 132 static char _dw_share_path[PATH_MAX+1] = { 0 };
132 static char _dw_app_id[_DW_APP_ID_SIZE+1] = { 0 };
133 133
134 #if GTK_MAJOR_VERSION < 2 134 #if GTK_MAJOR_VERSION < 2
135 static int _dw_file_active = 0; 135 static int _dw_file_active = 0;
136 #endif 136 #endif
137 static int _dw_ignore_click = 0, _dw_ignore_expand = 0, _dw_color_active = 0; 137 static int _dw_ignore_click = 0, _dw_ignore_expand = 0, _dw_color_active = 0;