From 61531564db56aba46ec4225bf0eb5edd43ea2c11 Mon Sep 17 00:00:00 2001 From: mishas Date: Thu, 12 Apr 2007 06:59:10 +0000 Subject: [PATCH] renamed validateClient to allocateClient to reflect the nature of the method git-svn-id: file:///svnroot/simple-launcher/trunk@167 3ba93dab-e023-0410-b42a-de7732cf370a --- gconf-wrapper.cc | 4 ++-- gconf-wrapper.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gconf-wrapper.cc b/gconf-wrapper.cc index 6b48775..e1120d6 100644 --- a/gconf-wrapper.cc +++ b/gconf-wrapper.cc @@ -20,10 +20,10 @@ GConfClient *GConfItem::ourClient = NULL; GConfItem::GConfItem() { - validateClient(); + allocateClient(); } -void GConfItem::validateClient() { +void GConfItem::allocateClient() { if (ourClient == NULL) { ourClient = gconf_client_get_default(); } diff --git a/gconf-wrapper.h b/gconf-wrapper.h index a62fc56..68f192a 100644 --- a/gconf-wrapper.h +++ b/gconf-wrapper.h @@ -29,7 +29,7 @@ public: protected: GConfItem(); // I do not want to create instances of this class - static void validateClient(); + static void allocateClient(); protected: static GConfClient *ourClient; -- 1.7.9.5