[gnome-builder/gnome-builder-3-18] remove gb_str_equal0 to use ide_str_equal0
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] remove gb_str_equal0 to use ide_str_equal0
- Date: Tue, 13 Oct 2015 07:33:05 +0000 (UTC)
commit 5ee28e44fbd1ddbf2ab7fc722ff55cb9ea90ec9c
Author: Sebastien Lafargue <slafargue gnome org>
Date: Fri Oct 2 12:15:06 2015 +0200
remove gb_str_equal0 to use ide_str_equal0
src/preferences/gb-preferences-page.c | 2 +-
src/util/gb-string.h | 3 ---
2 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/preferences/gb-preferences-page.c b/src/preferences/gb-preferences-page.c
index ce53e5c..3f7314b 100644
--- a/src/preferences/gb-preferences-page.c
+++ b/src/preferences/gb-preferences-page.c
@@ -166,7 +166,7 @@ gb_preferences_page_set_title (GbPreferencesPage *page,
g_return_if_fail (GB_IS_PREFERENCES_PAGE (page));
- if (!gb_str_equal0 (title, priv->title))
+ if (!ide_str_equal0 (title, priv->title))
{
g_free (priv->title);
priv->title = g_strdup (title);
diff --git a/src/util/gb-string.h b/src/util/gb-string.h
index bf8dbc3..f8336b7 100644
--- a/src/util/gb-string.h
+++ b/src/util/gb-string.h
@@ -23,9 +23,6 @@
G_BEGIN_DECLS
-#define gb_str_equal0(s1,s2) \
- (((s1) == (s2)) || ((s1) && (s2) && g_str_equal(s1,s2)))
-
typedef enum
{
GB_HIGHLIGHT_UNDERLINE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]