diff -r 8887817a113a -r aeb6f350b7d5 pidgin/gtkrequest.c --- a/pidgin/gtkrequest.c Sun Oct 14 18:43:32 2007 +0000 +++ b/pidgin/gtkrequest.c Sun Oct 14 19:44:39 2007 +0000 @@ -106,16 +106,16 @@ if (convo) return GTK_WINDOW(convo->win->window); - if (strcmp(ui_hint, "blist")) { + if (strcmp(ui_hint, PURPLE_REQUEST_HINT_BLIST)) { GList *ll_toplevels = NULL; ll_toplevels = gtk_window_list_toplevels(); if (!(toplevel = find_toplevel(ll_toplevels, ui_hint))) { - if (!strcmp(ui_hint, "register-account")) + if (!strcmp(ui_hint, PURPLE_REQUEST_HINT_REGISTER)) toplevel = find_toplevel(ll_toplevels, "account"); else - if (!strcmp(ui_hint, "xfer")) + if (!strcmp(ui_hint, PURPLE_REQUEST_HINT_XFER)) toplevel = find_toplevel(ll_toplevels, "file transfer"); }