summaryrefslogtreecommitdiffstats
path: root/gtk/src/callbacks.c
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2011-03-22 00:57:01 +0000
committerjstebbins <[email protected]>2011-03-22 00:57:01 +0000
commit8db28e9250ffaee1b6b8c1d7e60aeee9b9466dba (patch)
tree26e02b232b16aca834417fd1259e43843dc9c334 /gtk/src/callbacks.c
parentec038a5c5fa7adf12aea215465c0434a816e57b3 (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/callbacks.c')
-rw-r--r--gtk/src/callbacks.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/src/callbacks.c b/gtk/src/callbacks.c
index a2854dcad..8009b3610 100644
--- a/gtk/src/callbacks.c
+++ b/gtk/src/callbacks.c
@@ -205,7 +205,7 @@ ghb_check_dependency(
if (widget != NULL)
{
- type = GTK_WIDGET_TYPE(widget);
+ type = G_OBJECT_TYPE(widget);
if (type == GTK_TYPE_COMBO_BOX || type == GTK_TYPE_COMBO_BOX_ENTRY)
if (gtk_combo_box_get_active(GTK_COMBO_BOX(widget)) < 0) return;
name = ghb_get_setting_key(widget);