summaryrefslogtreecommitdiffstats
path: root/x11-fm/nemo/files/patch-src_nemo-icon-view.c
blob: 53f37fd24420ffa2c8b1949160bb38459070aaa3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/nemo-icon-view.orig.c   2013-03-02 09:06:43.664571510 +0100
+++ src/nemo-icon-view.c    2013-03-02 09:06:59.822567644 +0100
@@ -1197,7 +1197,7 @@
 static NemoZoomLevel
 nemo_icon_view_get_default_zoom_level (NemoView *view)
 {
-    g_return_if_fail (NEMO_IS_ICON_VIEW (view));
+    g_return_val_if_fail (NEMO_IS_ICON_VIEW (view), NEMO_ZOOM_LEVEL_STANDARD);
 
     return get_default_zoom_level(NEMO_ICON_VIEW (view));
 }