diff src/request.c @ 7843:9408c12b4a61

[gaim-migrate @ 8497] Change the alias buddy, alias chat, and alias contact dialogs. They're supposed to be more HIG-friendly. They're definitely a bit smaller... I guess that's good? I dunno. I think I'm just not used to them being so small. This was from a patch from Nathan Fredrickson. I changed all the request dialogs so they do not require primary text. I'm not really sure if this is good or not. I dunno. Like, add buddy and add chat both have only small text, and they look ok. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sat, 13 Dec 2003 02:29:23 +0000
parents 1350352f5818
children 9c0ea21997a9
line wrap: on
line diff
--- a/src/request.c	Sat Dec 13 02:23:25 2003 +0000
+++ b/src/request.c	Sat Dec 13 02:29:23 2003 +0000
@@ -630,7 +630,6 @@
 {
 	GaimRequestUiOps *ops;
 
-	g_return_val_if_fail(primary != NULL, NULL);
 	g_return_val_if_fail(ok_text != NULL, NULL);
 	g_return_val_if_fail(ok_cb   != NULL, NULL);
 
@@ -667,7 +666,6 @@
 	void *ui_handle;
 	va_list args;
 
-	g_return_val_if_fail(primary != NULL,  NULL);
 	g_return_val_if_fail(ok_text != NULL,  NULL);
 	g_return_val_if_fail(ok_cb   != NULL,  NULL);
 	g_return_val_if_fail(choice_count > 0, NULL);
@@ -693,7 +691,6 @@
 {
 	GaimRequestUiOps *ops;
 
-	g_return_val_if_fail(primary != NULL,  NULL);
 	g_return_val_if_fail(ok_text != NULL,  NULL);
 	g_return_val_if_fail(ok_cb   != NULL,  NULL);
 	g_return_val_if_fail(choice_count > 0, NULL);
@@ -729,7 +726,6 @@
 	void *ui_handle;
 	va_list args;
 
-	g_return_val_if_fail(primary != NULL,  NULL);
 	g_return_val_if_fail(action_count > 0, NULL);
 
 	va_start(args, action_count);
@@ -749,7 +745,6 @@
 {
 	GaimRequestUiOps *ops;
 
-	g_return_val_if_fail(primary != NULL,  NULL);
 	g_return_val_if_fail(action_count > 0, NULL);
 
 	ops = gaim_request_get_ui_ops();