diff options
author | John Stebbins <[email protected]> | 2016-02-25 08:58:44 -0700 |
---|---|---|
committer | John Stebbins <[email protected]> | 2016-02-25 08:58:44 -0700 |
commit | 25133845793a73400dd77792969b1d8b94dea6fd (patch) | |
tree | eb255558ddabd23b4aba361703fb70c7134698b5 /gtk | |
parent | a8242552c097c713028fae120699ee2783130491 (diff) |
lingui: fix data type of GType variable
Wrong size data type resulted in massive failure when compiled with
certain CFLAGS.
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/src/settings.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c index 16dffa860..876a94aaa 100644 --- a/gtk/src/settings.c +++ b/gtk/src/settings.c @@ -422,7 +422,7 @@ ghb_widget_value(GtkWidget *widget) } else { - g_warning("Attempt to set unknown widget type: %s\n", name); + g_warning("Attempt to get unknown widget type, name %s", name); g_free(value); value = NULL; } @@ -514,7 +514,7 @@ ghb_widget_to_setting(GhbValue *settings, GtkWidget *widget) void ghb_update_widget(GtkWidget *widget, const GhbValue *value) { - GhbType type; + GType type; gchar *str, *tmp; gint ival; gdouble dval; @@ -687,7 +687,7 @@ ghb_update_widget(GtkWidget *widget, const GhbValue *value) } else { - g_warning("Attempt to set unknown widget type %s", name); + g_warning("Attempt to set unknown widget type, name %s", name); } g_free(tmp); } |