summaryrefslogtreecommitdiff
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-10-07 07:59:16 -0400
committerXan Lopez <xan@igalia.com>2012-10-07 07:59:16 -0400
commit6151ca0e28342d80007e89eded95bbc81d82c871 (patch)
treeb64471acf084c2f2520b7859a3348c56412044d4 /src/ephy-lockdown.c
parentb6707ebdfd970548177789562234cbf3cfa4dfc7 (diff)
downloadepiphany-6151ca0e28342d80007e89eded95bbc81d82c871.tar.gz
ephy-lockdown: use glib strcmp methods
Diffstat (limited to 'src/ephy-lockdown.c')
-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 *