summaryrefslogtreecommitdiff
path: root/src/caja-pathbar.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-25 12:50:07 +0200
committerStefano Karapetsas <[email protected]>2013-07-25 12:50:07 +0200
commit9414c75602ba6f099d39275b9c09db656f27a59e (patch)
tree7ec6438367425aa75bc9b9839c5c6cebf72c3113 /src/caja-pathbar.c
parent73325c232756ace088ae3f8d64455af2c35a5381 (diff)
downloadcaja-9414c75602ba6f099d39275b9c09db656f27a59e.tar.bz2
caja-9414c75602ba6f099d39275b9c09db656f27a59e.tar.xz
Fixes for GTK3 support
Diffstat (limited to 'src/caja-pathbar.c')
-rw-r--r--src/caja-pathbar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/caja-pathbar.c b/src/caja-pathbar.c
index 9de3ea03..e2d07edc 100644
--- a/src/caja-pathbar.c
+++ b/src/caja-pathbar.c
@@ -856,7 +856,7 @@ caja_path_bar_size_allocate (GtkWidget *widget,
if (need_sliders && direction == GTK_TEXT_DIR_RTL)
{
#if GTK_CHECK_VERSION(3,0,0)
- if (child_allocation.x - path_bar->spacing - path_bar->slider_width < widget_allocation.x) {
+ if (child_allocation.x - path_bar->spacing - path_bar->slider_width < widget_allocation.x)
#else
if (child_allocation.x - path_bar->spacing - path_bar->slider_width < widget_allocation.x + border_width)
#endif
@@ -869,7 +869,7 @@ caja_path_bar_size_allocate (GtkWidget *widget,
if (need_sliders && direction == GTK_TEXT_DIR_LTR)
{
#if GTK_CHECK_VERSION(3,0,0)
- if (child_allocation.x + child_allocation.width + path_bar->spacing + path_bar->slider_width > widget_allocation.x + allocation_width) {
+ if (child_allocation.x + child_allocation.width + path_bar->spacing + path_bar->slider_width > widget_allocation.x + allocation_width)
#else
if (child_allocation.x + child_allocation.width + path_bar->spacing + path_bar->slider_width > widget_allocation.x + border_width + allocation_width)
#endif