diff options
author | jstebbins <[email protected]> | 2011-03-22 00:57:01 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-03-22 00:57:01 +0000 |
commit | 8db28e9250ffaee1b6b8c1d7e60aeee9b9466dba (patch) | |
tree | 26e02b232b16aca834417fd1259e43843dc9c334 /gtk/src/settings.c | |
parent | ec038a5c5fa7adf12aea215465c0434a816e57b3 (diff) |
LinGui: remove use of deprecated GTK_WIDGET_TYPE and GTK_OBJECT_TYPE macros
replace with G_OBJECT_TYPE
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3860 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'gtk/src/settings.c')
-rw-r--r-- | gtk/src/settings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/settings.c b/gtk/src/settings.c index afe41803c..46e2de941 100644 --- a/gtk/src/settings.c +++ b/gtk/src/settings.c @@ -210,7 +210,7 @@ ghb_widget_value(GtkWidget *widget) return NULL; } - type = GTK_WIDGET_TYPE(widget); + type = G_OBJECT_TYPE(widget); name = ghb_get_setting_key(widget); g_debug("ghb_widget_value widget (%s)\n", name); if (type == GTK_TYPE_ENTRY) @@ -494,7 +494,7 @@ update_widget(GtkWidget *widget, const GValue *value) str = ghb_value_string(value); ival = ghb_value_int(value); dval = ghb_value_double(value); - type = GTK_OBJECT_TYPE(widget); + type = G_OBJECT_TYPE(widget); if (type == GTK_TYPE_ENTRY) { g_debug("entry"); |