aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-10-07 19:59:16 +0800
committerXan Lopez <xan@igalia.com>2012-10-07 19:59:16 +0800
commit6151ca0e28342d80007e89eded95bbc81d82c871 (patch)
treeb64471acf084c2f2520b7859a3348c56412044d4 /src
parentb6707ebdfd970548177789562234cbf3cfa4dfc7 (diff)
downloadgsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar
gsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar.gz
gsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar.bz2
gsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar.lz
gsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar.xz
gsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar.zst
gsoc2013-epiphany-6151ca0e28342d80007e89eded95bbc81d82c871.zip
ephy-lockdown: use glib strcmp methods
Diffstat (limited to 'src')
-rw-r--r--src/ephy-lockdown.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 97d33b4dc..7b0bfb9c8 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 *