im.pidgin.pidgin.next.minor: 3588a68b11327f068eea391242fa5896bb72f8dd

rlaager at pidgin.im rlaager at pidgin.im
Sun Oct 14 15:56:01 EDT 2007


-----------------------------------------------------------------
Revision: 3588a68b11327f068eea391242fa5896bb72f8dd
Ancestor: 0bca057095e209f4b41abe027de4864301ead50e
Author: rlaager at pidgin.im
Date: 2007-10-14T19:44:39
Branch: im.pidgin.pidgin.next.minor

Modified files:
        pidgin/gtkrequest.c

ChangeLog: 

Use the PURPLE_REQUEST_HINT defines for comparisons.

-------------- next part --------------
============================================================
--- pidgin/gtkrequest.c	14d20a976fdee98e3077027fd1551c82002fc6a5
+++ pidgin/gtkrequest.c	92c4f855594d211c24baff8e825dfa34ff6e34ae
@@ -106,16 +106,16 @@ get_request_parent(const char *ui_hint, 
 	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");
 		}
 		


More information about the Commits mailing list