Skip to content

Commit

Permalink
Check against failing to get gconf_default for gnome2 config.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Feb 21, 2023
1 parent a638f8c commit 7aa318a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config_gnome2.c
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,8 @@ bool proxy_config_gnome2_global_init(void) {

// Get default config instance
g_proxy_config_gnome2.gconf_default = g_proxy_config_gnome2.gconf_engine_get_default();
if (!g_proxy_config_gnome2.gconf_default)
goto gnome2_init_error;
return true;

gnome2_init_error:
Expand Down

0 comments on commit 7aa318a

Please sign in to comment.