aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-24 20:05:47 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-28 11:22:08 (GMT)
commit6b837b89488e9067cc6e0a34300b2bf20f3f372e (patch)
treebda747daea7f36cc76a5ba84d4979dfbec9aa212
parentdd4d2e754970c48b8a379fe97263d0e598710b26 (diff)
Replace gtk_object_get_data() with g_object_get_data()
Another function that got replaced on Gtk 3. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--src/support.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/support.c b/src/support.c
index e813300..2dba596 100644
--- a/src/support.c
+++ b/src/support.c
@@ -46,7 +46,7 @@ GtkWidget *lookup_widget (GtkWidget * widget, const gchar * widget_name)
}
found_widget =
- (GtkWidget *) gtk_object_get_data (GTK_OBJECT (widget), widget_name);
+ (GtkWidget *) g_object_get_data (GTK_OBJECT (widget), widget_name);
if (!found_widget)
g_warning ("Widget not found: %s", widget_name);
return found_widget;

Privacy Policy