[gthumb] do not use gtk+ 3.14 function if version 3.14 is not present
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] do not use gtk+ 3.14 function if version 3.14 is not present
- Date: Sun, 25 Jan 2015 12:07:13 +0000 (UTC)
commit e364f85222a9cf17911e620e5b50bc0db8e43641
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sun Jan 18 17:10:55 2015 +0100
do not use gtk+ 3.14 function if version 3.14 is not present
gthumb/gtk-utils.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gthumb/gtk-utils.c b/gthumb/gtk-utils.c
index 75f779d..82bafd5 100644
--- a/gthumb/gtk-utils.c
+++ b/gthumb/gtk-utils.c
@@ -1310,8 +1310,10 @@ _gtk_list_box_add_separator (GtkListBox *list_box) {
GtkWidget *sep;
row = gtk_list_box_row_new ();
+#if GTK_CHECK_VERSION(3, 14, 0)
gtk_list_box_row_set_activatable (GTK_LIST_BOX_ROW (row), FALSE);
gtk_list_box_row_set_selectable (GTK_LIST_BOX_ROW (row), FALSE);
+#endif
gtk_widget_show (row);
gtk_container_add (GTK_CONTAINER (list_box), row);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]