summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorSteve Zesch <[email protected]>2012-11-20 19:23:06 -0800
committerSteve Zesch <[email protected]>2012-11-20 19:23:06 -0800
commit4f762cdecf92c6391b27930456e40a703ea880f8 (patch)
treec1ef23eb0a876eda9294ace5c93f6e2ddb184bfa /libcaja-private/caja-icon-container.c
parent49c5ca823b2e18ac7524bb733f84c3549b8f359c (diff)
parent55f7b8caf97f3eb0da4dcc1a36e4c0ba0ed200d2 (diff)
downloadcaja-4f762cdecf92c6391b27930456e40a703ea880f8.tar.bz2
caja-4f762cdecf92c6391b27930456e40a703ea880f8.tar.xz
Merge pull request #50 from jasmineaura/develop
eel-bg and lc-p rendering-cleanup followups, eel-bg-box rendering-cleanup
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 6b2f18e8..2b38220c 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -5252,14 +5252,12 @@ caja_icon_container_search_position_func (CajaIconContainer *container,
gdk_window_get_origin (cont_window, &cont_x, &cont_y);
-#if GTK_CHECK_VERSION(3, 0, 0)
cont_width = gdk_window_get_width (cont_window);
cont_height = gdk_window_get_height (cont_window);
+#if GTK_CHECK_VERSION(3, 0, 0)
gtk_widget_get_preferred_size (search_dialog, &requisition, NULL);
#else
- gdk_drawable_get_size (cont_window, &cont_width, &cont_height);
-
gtk_widget_size_request (search_dialog, &requisition);
#endif