summaryrefslogtreecommitdiff
path: root/libview/ev-view.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-12-09 15:46:06 +0100
committerinfirit <[email protected]>2014-12-09 23:02:28 +0100
commite9f1cf80bff9c730ccb6d76008ae6c5d0d0c8bcf (patch)
tree28529d57a5f95bb09da8d7fc6468f658b71cd0f6 /libview/ev-view.c
parentbf0fdfa485cef54841309a467063e9fadaeb9d38 (diff)
downloadatril-e9f1cf80bff9c730ccb6d76008ae6c5d0d0c8bcf.tar.bz2
atril-e9f1cf80bff9c730ccb6d76008ae6c5d0d0c8bcf.tar.xz
libview: Silence warning for unused functions
Diffstat (limited to 'libview/ev-view.c')
-rw-r--r--libview/ev-view.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libview/ev-view.c b/libview/ev-view.c
index c0007d75..e3b4c9f6 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -3208,6 +3208,7 @@ ev_view_size_request (GtkWidget *widget,
*requisition = view->requisition;
}
+#if GTK_CHECK_VERSION (3, 0, 0)
static void
ev_view_get_preferred_width (GtkWidget *widget,
gint *minimum,
@@ -3231,6 +3232,7 @@ ev_view_get_preferred_height (GtkWidget *widget,
*minimum = *natural = requisition.height;
}
+#endif
static void
ev_view_size_allocate (GtkWidget *widget,