summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-icon-container.c
diff options
context:
space:
mode:
authorWolfgang Ulbrich <[email protected]>2016-01-09 01:05:50 +0100
committerWolfgang Ulbrich <[email protected]>2016-01-13 15:05:01 +0100
commit3c5a4ef68906a73850fa2ffe403cfcd37dc31ff9 (patch)
tree10d3318690c6053436f7d902e6c9653b521eabf1 /libcaja-private/caja-icon-container.c
parent65a3791db8209d7a001c1af6f944e8dd180859e1 (diff)
downloadcaja-3c5a4ef68906a73850fa2ffe403cfcd37dc31ff9.tar.bz2
caja-3c5a4ef68906a73850fa2ffe403cfcd37dc31ff9.tar.xz
GTK3 icon-container: remove spurious call to gtk_adjustment_changed()
taken from: https://git.gnome.org/browse/nautilus/commit/?h=gnome-3-0&id=42865d5
Diffstat (limited to 'libcaja-private/caja-icon-container.c')
-rw-r--r--libcaja-private/caja-icon-container.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libcaja-private/caja-icon-container.c b/libcaja-private/caja-icon-container.c
index 94a0ac86..8e89ce62 100644
--- a/libcaja-private/caja-icon-container.c
+++ b/libcaja-private/caja-icon-container.c
@@ -1212,12 +1212,10 @@ caja_icon_container_update_scroll_region (CajaIconContainer *container)
if (gtk_adjustment_get_step_increment (hadj) != step_increment)
{
gtk_adjustment_set_step_increment (hadj, step_increment);
- gtk_adjustment_changed (hadj);
}
if (gtk_adjustment_get_step_increment (vadj) != step_increment)
{
gtk_adjustment_set_step_increment (vadj, step_increment);
- gtk_adjustment_changed (vadj);
}
/* Now that we have a new scroll region, clamp the
* adjustments so we are within the valid scroll area.