* view.c [HAVE_X]: Define is_idle() to 1. Warning fix.
Этот коммит содержится в:
родитель
67a118915d
Коммит
b66d2fec72
@ -1,5 +1,7 @@
|
|||||||
2001-06-01 Pavel Roskin <proski@gnu.org>
|
2001-06-01 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* view.c [HAVE_X]: Define is_idle() to 1. Warning fix.
|
||||||
|
|
||||||
* file.c (copy_file_file): Initialize src_uid, src_gid, src_mode
|
* file.c (copy_file_file): Initialize src_uid, src_gid, src_mode
|
||||||
and file_size to avoid a warning.
|
and file_size to avoid a warning.
|
||||||
|
|
||||||
|
@ -95,6 +95,10 @@ int max_dirt_limit =
|
|||||||
10;
|
10;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef HAVE_X
|
||||||
|
#define is_idle() 1
|
||||||
|
#endif
|
||||||
|
|
||||||
extern Hook *idle_hook;
|
extern Hook *idle_hook;
|
||||||
|
|
||||||
/* Our callback */
|
/* Our callback */
|
||||||
@ -1475,12 +1479,13 @@ search (WView *view, char *text, int (*search)(WView *, char *, char *, int))
|
|||||||
char *s = NULL; /* The line we read from the view buffer */
|
char *s = NULL; /* The line we read from the view buffer */
|
||||||
long p, beginning;
|
long p, beginning;
|
||||||
int found_len, search_start;
|
int found_len, search_start;
|
||||||
Dlg_head *d = 0;
|
|
||||||
int search_status;
|
int search_status;
|
||||||
#ifdef HAVE_GNOME
|
#ifdef HAVE_GNOME
|
||||||
char *msg;
|
char *msg;
|
||||||
int abort;
|
int abort;
|
||||||
GtkWidget *gd;
|
GtkWidget *gd;
|
||||||
|
#else
|
||||||
|
Dlg_head *d = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Used to keep track of where the line starts, when looking forward */
|
/* Used to keep track of where the line starts, when looking forward */
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user