Browse Source

fix syntax errors in calls to g_*() logging functions

sisyphus
Dustin Falgout 8 years ago
parent
commit
72b9205d2c
  1. 2
      src/greeter.c
  2. 2
      src/webkit2-extension.c

2
src/greeter.c

@ -172,7 +172,7 @@ show_theme_recovery_modal() {
fallback_theme = "simple"; fallback_theme = "simple";
} }
g_warning(log_msg); g_warning("%s", log_msg);
gtk_widget_destroy(dialog); gtk_widget_destroy(dialog);
webkit_web_view_load_uri( webkit_web_view_load_uri(

2
src/webkit2-extension.c

@ -1812,7 +1812,7 @@ get_config_option_as_string(const gchar *section, const gchar *key) {
value = g_key_file_get_string(keyfile, section, key, &err); value = g_key_file_get_string(keyfile, section, key, &err);
if (NULL != err) { if (NULL != err) {
g_error(err->message); g_error("%s", err->message);
g_error_free(err); g_error_free(err);
g_free(value); g_free(value);
return ""; return "";

Loading…
Cancel
Save