[aravis] viewer: avoid deprecation warning for gtk_widget_set_double_buffered
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] viewer: avoid deprecation warning for gtk_widget_set_double_buffered
- Date: Sat, 4 Oct 2014 20:46:52 +0000 (UTC)
commit dd19eb854222d448a86c679ff20b3970bd8257c7
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Sat Oct 4 22:46:04 2014 +0200
viewer: avoid deprecation warning for gtk_widget_set_double_buffered
viewer/arvviewer.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/viewer/arvviewer.c b/viewer/arvviewer.c
index 781486f..ba8476f 100644
--- a/viewer/arvviewer.c
+++ b/viewer/arvviewer.c
@@ -783,7 +783,10 @@ arv_viewer_new (void)
gtk_widget_set_no_show_all (viewer->trigger_combo_box, TRUE);
g_signal_connect (viewer->drawing_area, "realize", G_CALLBACK (drawing_area_realize_cb), viewer);
+
+#if !GTK_CHECK_VERSION (3,14,0)
gtk_widget_set_double_buffered (viewer->drawing_area, FALSE);
+#endif
gtk_widget_show_all (viewer->main_window);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]