aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2005-01-21 05:59:21 +0000
committerJan Djärv2005-01-21 05:59:21 +0000
commiteee141ce6922778f818abd153b728c7b15832b5c (patch)
treea4d15208966b4204949bb22e6ee910168a7b961f /src
parent7ec35700c346fc0f90f0ce513dbbce5826f29885 (diff)
downloademacs-eee141ce6922778f818abd153b728c7b15832b5c.tar.gz
emacs-eee141ce6922778f818abd153b728c7b15832b5c.zip
* gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw.
(xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to start of function for older compilers.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/gtkutil.c3
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 105e2f296f2..3405cbac1f0 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12005-01-21 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
2
3 * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw.
4 (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to
5 start of function for older compilers.
6
12005-01-20 Richard M. Stallman <rms@gnu.org> 72005-01-20 Richard M. Stallman <rms@gnu.org>
2 8
3 * editfns.c (Fmessage): If arg is "", return "" (as before). 9 * editfns.c (Fmessage): If arg is "", return "" (as before).
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 39d5e768dda..aecc4e2eaea 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1312,6 +1312,7 @@ xg_get_file_name (f, prompt, default_filename, mustmatch_p, only_dir_p)
1312 char *fn = 0; 1312 char *fn = 0;
1313 int filesel_done = 0; 1313 int filesel_done = 0;
1314 xg_get_file_func func; 1314 xg_get_file_func func;
1315 extern int x_use_old_gtk_file_dialog;
1315 1316
1316#if defined (HAVE_GTK_AND_PTHREAD) && defined (__SIGRTMIN) 1317#if defined (HAVE_GTK_AND_PTHREAD) && defined (__SIGRTMIN)
1317 /* I really don't know why this is needed, but without this the GLIBC add on 1318 /* I really don't know why this is needed, but without this the GLIBC add on
@@ -1321,7 +1322,6 @@ xg_get_file_name (f, prompt, default_filename, mustmatch_p, only_dir_p)
1321#endif /* HAVE_GTK_AND_PTHREAD */ 1322#endif /* HAVE_GTK_AND_PTHREAD */
1322 1323
1323#ifdef HAVE_GTK_FILE_BOTH 1324#ifdef HAVE_GTK_FILE_BOTH
1324 extern int x_use_old_gtk_file_dialog;
1325 1325
1326 if (x_use_old_gtk_file_dialog) 1326 if (x_use_old_gtk_file_dialog)
1327 w = xg_get_file_with_selection (f, prompt, default_filename, 1327 w = xg_get_file_with_selection (f, prompt, default_filename,
@@ -3161,7 +3161,6 @@ xg_tool_bar_detach_callback (wbox, w, client_data)
3161 /* When detaching a tool bar, not everything dissapear. There are 3161 /* When detaching a tool bar, not everything dissapear. There are
3162 a few pixels left that are used to drop the tool bar back into 3162 a few pixels left that are used to drop the tool bar back into
3163 place. */ 3163 place. */
3164 int bw = gtk_container_get_border_width (GTK_CONTAINER (wbox));
3165 FRAME_TOOLBAR_HEIGHT (f) = 2; 3164 FRAME_TOOLBAR_HEIGHT (f) = 2;
3166 3165
3167 /* The height has changed, resize outer widget and set columns 3166 /* The height has changed, resize outer widget and set columns