[epiphany] ephy-lockdown: use glib strcmp methods
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] ephy-lockdown: use glib strcmp methods
- Date: Sun, 7 Oct 2012 11:59:57 +0000 (UTC)
commit 6151ca0e28342d80007e89eded95bbc81d82c871
Author: Xan Lopez <xan igalia com>
Date: Sun Oct 7 07:59:16 2012 -0400
ephy-lockdown: use glib strcmp methods
src/ephy-lockdown.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 97d33b4..7b0bfb9 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -33,7 +33,6 @@
#include "ephy-settings.h"
#include <gtk/gtk.h>
-#include <string.h>
#define LOCKDOWN_FLAG 1 << 8
@@ -41,7 +40,7 @@ static int
find_name (GtkActionGroup *action_group,
const char *name)
{
- return strcmp (gtk_action_group_get_name (action_group), name);
+ return g_strcmp0 (gtk_action_group_get_name (action_group), name);
}
static GtkActionGroup *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]