[aravis] viewer: remove useless gtk2/3 switch.
- From: Emmanuel Pacaud <emmanuel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aravis] viewer: remove useless gtk2/3 switch.
- Date: Tue, 4 Feb 2014 21:25:00 +0000 (UTC)
commit 11e88e9917c293da2a9766f84a40b26fdbfa964b
Author: Emmanuel Pacaud <emmanuel gnome org>
Date: Tue Feb 4 22:24:24 2014 +0100
viewer: remove useless gtk2/3 switch.
viewer/arvviewer.c | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/viewer/arvviewer.c b/viewer/arvviewer.c
index ccce122..6eb8722 100644
--- a/viewer/arvviewer.c
+++ b/viewer/arvviewer.c
@@ -724,13 +724,7 @@ arv_viewer_new (void)
builder = gtk_builder_new ();
- ui_filename = g_build_filename (ARAVIS_DATA_DIR,
-#if GTK_CHECK_VERSION(3,0,0)
- "arv-viewer-3.ui",
-#else
- "arv-viewer-2.ui",
-#endif
- NULL);
+ ui_filename = g_build_filename (ARAVIS_DATA_DIR, "arv-viewer-3.ui", NULL);
if (!gtk_builder_add_from_file (builder, ui_filename, NULL))
g_error ("The user interface file is missing ('%s')", ui_filename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]