diff options
| author | Juanma Barranquero | 2010-06-24 18:08:22 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-06-24 18:08:22 +0200 |
| commit | 8c079ebbd2bfd2d08b8ddd2c44565bc639efa496 (patch) | |
| tree | 10b21cebd1c1c4f124a1625b735667fa6e4a3f72 /src/gtkutil.c | |
| parent | 04c23739823fecd98cbc06ad627b36e5bd8e482e (diff) | |
| download | emacs-8c079ebbd2bfd2d08b8ddd2c44565bc639efa496.tar.gz emacs-8c079ebbd2bfd2d08b8ddd2c44565bc639efa496.zip | |
src/gtkutil.c (xg_update_scrollbar_pos): Avoid C99 mid-block variable declaration.
Diffstat (limited to 'src/gtkutil.c')
| -rw-r--r-- | src/gtkutil.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index 51b1c64c108..5774332c676 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -3213,6 +3213,7 @@ xg_update_scrollbar_pos (f, scrollbar_id, top, left, width, height) | |||
| 3213 | GtkWidget *wfixed = f->output_data.x->edit_widget; | 3213 | GtkWidget *wfixed = f->output_data.x->edit_widget; |
| 3214 | GtkWidget *wparent = gtk_widget_get_parent (wscroll); | 3214 | GtkWidget *wparent = gtk_widget_get_parent (wscroll); |
| 3215 | GtkFixed *wf = GTK_FIXED (wfixed); | 3215 | GtkFixed *wf = GTK_FIXED (wfixed); |
| 3216 | gint msl; | ||
| 3216 | 3217 | ||
| 3217 | /* Clear out old position. */ | 3218 | /* Clear out old position. */ |
| 3218 | GList *iter; | 3219 | GList *iter; |
| @@ -3232,7 +3233,6 @@ xg_update_scrollbar_pos (f, scrollbar_id, top, left, width, height) | |||
| 3232 | 3233 | ||
| 3233 | /* Move and resize to new values. */ | 3234 | /* Move and resize to new values. */ |
| 3234 | gtk_fixed_move (GTK_FIXED (wfixed), wparent, left, top); | 3235 | gtk_fixed_move (GTK_FIXED (wfixed), wparent, left, top); |
| 3235 | gint msl; | ||
| 3236 | gtk_widget_style_get (wscroll, "min-slider-length", &msl, NULL); | 3236 | gtk_widget_style_get (wscroll, "min-slider-length", &msl, NULL); |
| 3237 | if (msl > height) | 3237 | if (msl > height) |
| 3238 | { | 3238 | { |