aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-20 04:12:05 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-08-28 11:17:25 (GMT)
commit3fa483a74c482136b36e58fceb4653e95613b666 (patch)
tree5636b2270c6ea70f050bc604ed099148513fa90e
parent9d044c151e14c7521e5929802e32c8eff0c5e646 (diff)
get rid of deprecated GTK_WIDGET_STATE()
Use gtk_widget_get_state() instead. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
-rw-r--r--src/camorama-display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/camorama-display.c b/src/camorama-display.c
index 08d73a4..ad5c080 100644
--- a/src/camorama-display.c
+++ b/src/camorama-display.c
@@ -94,7 +94,7 @@ display_expose_event (GtkWidget * widget,
CamoDisplay* self = CAMO_DISPLAY (widget);
gdk_draw_drawable (widget->window,
- widget->style->fg_gc[GTK_WIDGET_STATE (widget)],
+ widget->style->fg_gc[gtk_widget_get_state (widget)],
self->_private->camera->pixmap,
event->area.x, event->area.y, event->area.x,
event->area.y, event->area.width, event->area.height);

Privacy Policy