Mon, 22 Aug 2022 21:40:04 -0500
Inline pidgin_make_scrollable
We need to change it for GTK4, and there are few enough that it can be inlined. Eventually, that code might be a `.ui` anyway.
Testing Done:
Compile only.
Reviewed at https://reviews.imfreedom.org/r/1615/
| 2086 | 1 | /* This file is part of the Project Athena Zephyr Notification System. |
| 2 | * It contains system-dependent header code. | |
| 3 | * | |
| 4 | * Created by: Greg Hudson | |
| 5 | * | |
| 6 | * Copyright (c) 1988,1991 by the Massachusetts Institute of Technology. | |
| 7 | * For copying and distribution information, see the file | |
|
31293
169eeb43b52c
Remove trailing whitespace
Richard Laager <rlaager@pidgin.im>
parents:
15435
diff
changeset
|
8 | * "mit-copyright.h". |
| 2086 | 9 | */ |
| 10 | ||
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
11 | #ifndef PURPLE_ZEPHYR_SYSDEP_H |
|
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
12 | #define PURPLE_ZEPHYR_SYSDEP_H |
| 2086 | 13 | |
|
40439
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
40165
diff
changeset
|
14 | #ifdef HAVE_CONFIG_H |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
40165
diff
changeset
|
15 | # include <config.h> |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
40165
diff
changeset
|
16 | #endif |
|
e9838d634d5e
Make sure that internal.h can only be included by libpurple and split out some pieces to purpleprivate.h
Gary Kramlich <grim@reaperworld.com>
parents:
40165
diff
changeset
|
17 | |
| 2086 | 18 | #include <stdio.h> |
| 19 | #include <errno.h> | |
| 20 | #include <ctype.h> | |
| 21 | #include <time.h> | |
| 22 | #include <signal.h> | |
| 10867 | 23 | #ifndef WIN32 |
| 2086 | 24 | #include <syslog.h> |
| 10867 | 25 | #endif |
| 26 | ||
| 2086 | 27 | #include <sys/types.h> |
| 28 | #include <sys/stat.h> | |
| 29 | #include <sys/param.h> | |
| 30 | #include <sys/time.h> | |
| 31 | ||
|
38047
312be70f9de6
Remove AC_HEADER_STDC and related C89 tests.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37229
diff
changeset
|
32 | #include <stdlib.h> |
| 2086 | 33 | |
| 34 | /* Strings. */ | |
|
38047
312be70f9de6
Remove AC_HEADER_STDC and related C89 tests.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
37229
diff
changeset
|
35 | #include <string.h> |
| 2086 | 36 | |
| 37 | /* Exit status handling and wait(). */ | |
| 38 | #ifdef HAVE_SYS_WAIT_H | |
| 39 | # include <sys/wait.h> | |
| 40 | #endif | |
| 41 | ||
| 42 | #ifdef HAVE_SYS_CDEFS_H | |
| 43 | #include <sys/cdefs.h> | |
| 44 | #endif | |
| 45 | ||
|
39829
ce056c64e426
zephyr: Remove support for compilers without __STDC__.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39819
diff
changeset
|
46 | #include <stdarg.h> |
| 2086 | 47 | |
| 48 | #ifdef HAVE_FCNTL_H | |
| 49 | # include <fcntl.h> | |
| 50 | #endif | |
| 51 | ||
| 52 | #ifdef HAVE_UNISTD_H | |
| 53 | # include <unistd.h> | |
| 54 | #else | |
| 55 | # ifdef HAVE_SYS_FILE_H | |
| 56 | # include <sys/file.h> | |
| 57 | # endif | |
|
12323
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
11107
diff
changeset
|
58 | uid_t getuid(void); |
|
f52908fb23b0
[gaim-migrate @ 14627]
Richard Laager <rlaager@pidgin.im>
parents:
11107
diff
changeset
|
59 | char *ttyname(void); |
| 2086 | 60 | #endif |
| 61 | ||
| 62 | #ifdef HAVE_TERMIOS_H | |
| 63 | # include <termios.h> | |
| 64 | #else | |
| 65 | # ifdef HAVE_SYS_FILIO_H | |
| 66 | # include <sys/filio.h> | |
| 67 | # else | |
| 68 | # ifdef HAVE_SGTTY_H | |
| 69 | # include <sgtty.h> | |
| 70 | # endif | |
| 71 | # endif | |
| 72 | #endif | |
| 73 | ||
| 74 | /* Kerberos compatibility. */ | |
| 75 | #ifdef ZEPHYR_USES_KERBEROS | |
| 76 | # include <krb.h> | |
|
39830
c6fc1928c22c
zephyr: Remove unused defines and headers.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39829
diff
changeset
|
77 | # ifndef WIN32 |
|
c6fc1928c22c
zephyr: Remove unused defines and headers.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39829
diff
changeset
|
78 | # include <krb_err.h> |
|
c6fc1928c22c
zephyr: Remove unused defines and headers.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
39829
diff
changeset
|
79 | # endif /* WIN32 */ |
| 2086 | 80 | # include <des.h> |
| 10867 | 81 | #endif /* ZEPHYR_USES_KERBEROS */ |
| 2086 | 82 | |
| 83 | #ifdef HAVE_SYS_SELECT_H | |
| 84 | # include <sys/select.h> | |
| 85 | #endif | |
| 86 | ||
| 87 | #ifdef HAVE_SYS_MSGBUF_H | |
| 88 | #include <sys/msgbuf.h> | |
| 89 | #endif | |
| 90 | ||
|
39819
3554dac2991b
Standardize all protocol header guard macros.
Elliott Sales de Andrade <qulogic@pidgin.im>
parents:
38048
diff
changeset
|
91 | #endif /* PURPLE_ZEPHYR_SYSDEP_H */ |