Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:redwil:15.4
wcalc
wcalc_gtk_fix_globals.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wcalc_gtk_fix_globals.patch of Package wcalc
--- a/gtk-wcalc/wcalc.h 2022-11-17 06:12:34.762833109 +0100 +++ b/gtk-wcalc/wcalc.h 2022-11-17 06:13:15.811144746 +0100 @@ -52,19 +52,19 @@ #include "print.h" /* Global list of the names of the various models */ -GList *global_model_names; +extern GList *global_model_names; /* Global list of pointers to the _new() functions for each model */ -GList *global_model_new; +extern GList *global_model_new; /* Global list of menu paths for the models */ -GList *global_model_menus; +extern GList *global_model_menus; /* Global list of default file names for the models */ -GList *global_model_defaults; +extern GList *global_model_defaults; /* Global printer page setup */ -print_config *global_print_config; +extern print_config *global_print_config; /* Format string used by many forms and postscript output */ #define WC_FMT_G "%.4g" --- a/gtk-wcalc/wcalc.c 2022-11-17 06:12:37.766855917 +0100 +++ b/gtk-wcalc/wcalc.c 2022-11-17 06:14:47.811843221 +0100 @@ -91,6 +91,11 @@ static char *rcdir = NULL; static char *homedir = NULL; +GList *global_model_names = NULL; +GList *global_model_menus = NULL; +GList *global_model_new = NULL; +GList *global_model_defaults = NULL; + /* * The top level delete/destroy signal and event callbacks */ --- a/gtk-wcalc/print.c 2022-11-17 06:12:42.974895454 +0100 +++ b/gtk-wcalc/print.c 2022-11-17 06:16:01.168398694 +0100 @@ -67,6 +67,7 @@ static GString *print_cmd; static GString *print_file; +print_config *global_print_config = NULL; static int stop_sig;
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor