diff src/gtkprivacy.c @ 10352:5879593a6a10

[gaim-migrate @ 11569] Gray out some buddy list menu items and the gtkstatusselector if no accounts are online. committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Mon, 13 Dec 2004 01:49:55 +0000
parents 946aa96fa103
children 9903182f2aac
line wrap: on
line diff
--- a/src/gtkprivacy.c	Mon Dec 13 01:24:19 2004 +0000
+++ b/src/gtkprivacy.c	Mon Dec 13 01:49:55 2004 +0000
@@ -521,6 +521,8 @@
 void
 gaim_gtk_privacy_dialog_show(void)
 {
+	g_return_if_fail(gaim_connections_get_all() != NULL);
+
 	if (privacy_dialog == NULL)
 		privacy_dialog = privacy_dialog_new();