Mercurial > pidgin.yaz
changeset 4726:0b1c01fd68f1
[gaim-migrate @ 5039]
Fixed win2ktrans and iconaway plugins
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Wed, 12 Mar 2003 16:45:33 +0000 |
parents | fd44726a527f |
children | 85a597deaff4 |
files | plugins/Makefile.mingw plugins/iconaway.c plugins/win32/transparency/win2ktrans.c |
diffstat | 3 files changed, 9 insertions(+), 10 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/Makefile.mingw Wed Mar 12 12:35:02 2003 +0000 +++ b/plugins/Makefile.mingw Wed Mar 12 16:45:33 2003 +0000 @@ -76,15 +76,13 @@ all: plugins $(MAKE) -C $(TICKER) -f Makefile.mingw $(MAKE) -C $(WINPREFS) -f Makefile.mingw - -# $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw + $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install: cp $(GAIM_PLUGINS)/*.dll $(GAIM_INSTALL_DIR)/plugins $(MAKE) -C $(TICKER) -f Makefile.mingw install $(MAKE) -C $(WINPREFS) -f Makefile.mingw install - -# $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install + $(MAKE) -C $(TRANSPARENCY) -f Makefile.mingw install # # BUILD Plugin @@ -98,9 +96,8 @@ $(CC) -mdll -o $@ tmp$@.o -Wl,$@.exp $(LIB_PATHS) $(LIBS) rm -rf $@.base $@.def $@.exp junk.tmp -plugins: spellchk.dll autorecon.dll +plugins: iconaway.dll spellchk.dll autorecon.dll -# iconaway.dll ## ## CLEAN RULES
--- a/plugins/iconaway.c Wed Mar 12 12:35:02 2003 +0000 +++ b/plugins/iconaway.c Wed Mar 12 16:45:33 2003 +0000 @@ -15,9 +15,9 @@ void *handle; G_MODULE_IMPORT GtkWidget *imaway; -G_MODULE_IMPORT GtkWidget *blist; +/*G_MODULE_IMPORT GtkWidget *blist;*/ /* XXX G_MODULE_IMPORT GtkWidget *all_chats; */ -G_MODULE_IMPORT GtkWidget *all_convos; +/*G_MODULE_IMPORT GtkWidget *all_convos;*/ #ifdef USE_APPLET extern void applet_destroy_buddy(); @@ -32,7 +32,7 @@ return; gtk_window_iconify(GTK_WINDOW(imaway)); - hide_buddy_list(); + gaim_blist_set_visible(FALSE); for (windows = gaim_get_windows(); windows != NULL;
--- a/plugins/win32/transparency/win2ktrans.c Wed Mar 12 12:35:02 2003 +0000 +++ b/plugins/win32/transparency/win2ktrans.c Wed Mar 12 16:45:33 2003 +0000 @@ -25,6 +25,7 @@ #include <gtk/gtk.h> #include <gdk/gdkwin32.h> #include "gaim.h" +#include "gtklist.h" #include "win32dep.h" /* @@ -47,6 +48,8 @@ #define OPT_WGAIM_BLTRANS 0x00000004 #define OPT_WGAIM_BUDDYWIN_ONTOP 0x00000008 +#define blist (gaim_get_blist()?(GAIM_GTK_BLIST(gaim_get_blist())?((GAIM_GTK_BLIST(gaim_get_blist()))->window):NULL):NULL) + /* * DATA STRUCTS */ @@ -59,7 +62,6 @@ /* * GLOBALS */ -G_MODULE_IMPORT GtkWidget *blist; /* * LOCALS