aboutsummaryrefslogtreecommitdiffstats
path: root/src/gtkutil.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 35b366222de..8826b08851a 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -269,8 +269,8 @@ xg_get_pixbuf_from_pixmap (FRAME_PTR f, Pixmap pix)
269 GDK_COLORSPACE_RGB, 269 GDK_COLORSPACE_RGB,
270 FALSE, 270 FALSE,
271 xim->bitmap_unit, 271 xim->bitmap_unit,
272 (int) width, 272 width,
273 (int) height, 273 height,
274 xim->bytes_per_line, 274 xim->bytes_per_line,
275 NULL, 275 NULL,
276 NULL); 276 NULL);
@@ -3646,7 +3646,7 @@ xg_set_toolkit_scroll_bar_thumb (struct scroll_bar *bar,
3646 gtk_adjustment_set_page_size (adj, size); 3646 gtk_adjustment_set_page_size (adj, size);
3647 gtk_adjustment_set_step_increment (adj, new_step); 3647 gtk_adjustment_set_step_increment (adj, new_step);
3648 /* Assume a page increment is about 95% of the page size */ 3648 /* Assume a page increment is about 95% of the page size */
3649 gtk_adjustment_set_page_increment (adj,(int) (0.95*size)); 3649 gtk_adjustment_set_page_increment (adj, size - size / 20);
3650 changed = 1; 3650 changed = 1;
3651 } 3651 }
3652 } 3652 }