# HG changeset patch # User Etan Reisner # Date 1137721446 0 # Node ID acf22abb86bac4bb7d3dba1bf00b3a1480819ed6 # Parent 6910db1ae6a16af2a73bd7b7eff0740e5dacc02a [gaim-migrate @ 15312] I got tired of people asking me for this on Windows, and of telling people to use it and them saying "I can't find it" when they didn't bother to tell me they were using Windows first. committer: Tailor Script diff -r 6910db1ae6a1 -r acf22abb86ba plugins/Makefile.mingw --- a/plugins/Makefile.mingw Fri Jan 20 00:26:55 2006 +0000 +++ b/plugins/Makefile.mingw Fri Jan 20 01:44:06 2006 +0000 @@ -119,6 +119,7 @@ history.dll \ iconaway.dll \ idle.dll \ + notify.dll \ relnot.dll \ spellchk.dll \ statenotify.dll \ diff -r 6910db1ae6a1 -r acf22abb86ba plugins/notify.c --- a/plugins/notify.c Fri Jan 20 00:26:55 2006 +0000 +++ b/plugins/notify.c Fri Jan 20 01:44:06 2006 +0000 @@ -96,9 +96,11 @@ #include "gtkplugin.h" #include "gtkutils.h" +#ifndef _WIN32 #include #include #include +#endif #define NOTIFY_PLUGIN_ID "gtk-x11-notify" @@ -494,6 +496,7 @@ static void handle_urgent(GaimGtkWindow *win, gboolean add) { +#ifndef _WIN32 XWMHints *hints; g_return_if_fail(win != NULL); @@ -512,6 +515,7 @@ XSetWMHints(GDK_WINDOW_XDISPLAY(win->window->window), GDK_WINDOW_XWINDOW(win->window->window), hints); XFree(hints); +#endif } static void @@ -684,6 +688,7 @@ g_signal_connect(G_OBJECT(toggle), "toggled", G_CALLBACK(method_toggle_cb), "method_count"); +#ifndef _WIN32 /* Urgent method button */ toggle = gtk_check_button_new_with_mnemonic(_("Set window manager \"_URGENT\" hint")); gtk_box_pack_start(GTK_BOX(vbox), toggle, FALSE, FALSE, 0); @@ -691,6 +696,7 @@ gaim_prefs_get_bool("/plugins/gtk/X11/notify/method_urgent")); g_signal_connect(G_OBJECT(toggle), "toggled", G_CALLBACK(method_toggle_cb), "method_urgent"); +#endif /* Raise window method button */ toggle = gtk_check_button_new_with_mnemonic(_("R_aise conversation window"));