| 51 * PROTOS |
51 * PROTOS |
| 52 */ |
52 */ |
| 53 |
53 |
| 54 BOOL (*MyFlashWindowEx)(PFLASHWINFO pfwi)=NULL; |
54 BOOL (*MyFlashWindowEx)(PFLASHWINFO pfwi)=NULL; |
| 55 FARPROC wgaim_find_and_loadproc(char*, char*); |
55 FARPROC wgaim_find_and_loadproc(char*, char*); |
| 56 |
|
| 57 /* Gaim window filters from systray.c */ |
|
| 58 extern GdkFilterReturn st_buddywin_filter(GdkXEvent*, GdkEvent*, gpointer); |
|
| 59 extern GdkFilterReturn st_loginwin_filter(GdkXEvent*, GdkEvent*, gpointer); |
|
| 60 extern GdkFilterReturn st_backwin_filter(GdkXEvent*, GdkEvent*, gpointer); |
|
| 61 |
56 |
| 62 /* |
57 /* |
| 63 * STATIC CODE |
58 * STATIC CODE |
| 64 */ |
59 */ |
| 65 |
60 |
| 137 |
132 |
| 138 style = GetWindowLong(hWnd, GWL_STYLE); |
133 style = GetWindowLong(hWnd, GWL_STYLE); |
| 139 extended_style = GetWindowLong (hWnd, GWL_EXSTYLE); |
134 extended_style = GetWindowLong (hWnd, GWL_EXSTYLE); |
| 140 GetClientRect (hWnd, &trect); |
135 GetClientRect (hWnd, &trect); |
| 141 AdjustWindowRectEx (&trect, style, FALSE, extended_style); |
136 AdjustWindowRectEx (&trect, style, FALSE, extended_style); |
| 142 |
137 gtk_window_move(window, x + (-1 * trect.left), y + (-1 * trect.top)); |
| 143 gtk_window_move(window, x + (-1 * trect.left) , y + (-1 * trect.top)); |
|
| 144 } |
138 } |
| 145 |
139 |
| 146 |
140 |
| 147 /* Determine whether the specified dll contains the specified procedure. |
141 /* Determine whether the specified dll contains the specified procedure. |
| 148 If so, load it (if not already loaded). */ |
142 If so, load it (if not already loaded). */ |