summaryrefslogtreecommitdiff
path: root/x11/gnome2-applets/patches/patch-ab
blob: 705a2c0549a08a0a8ddb031cc5929e699b68f8d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-ab,v 1.1.1.1 2003/04/20 23:19:24 rh Exp $

--- mini-commander/src/mc-install-default-macros.c.orig	2003-03-11 03:45:54.000000000 +1000
+++ mini-commander/src/mc-install-default-macros.c
@@ -67,8 +67,8 @@ install_default_macros_list (GConfClient
 
 	error = NULL;
 	schema = gconf_client_get_schema (client, key, &error);
-	if (error) {
-		g_warning (_("Cannot get schema for %s : %s"), key, error->message);
+	if (error || !schema) {
+		g_warning (_("Cannot get schema for %s : %s"), key, error ? error->message : _("unknown error"));
 		g_error_free (error);
 		return;
 	}