diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-07-10 00:02:02 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-07-10 00:10:15 -0400 |
commit | a20c7ed2141b031d0dc82f3c06a401f22b1b0668 (patch) | |
tree | 87883c5c7bf843ed8bc55b0e10e0416618a962d3 /gtk/a11y/gtkscrolledwindowaccessible.c | |
parent | ddfa756ac702c996e54802ce38b6173b7c6ad151 (diff) | |
download | gtk+-a20c7ed2141b031d0dc82f3c06a401f22b1b0668.tar.gz |
Avoid unnecessary includes
Including string.h makes the compiler complain about parameters
and variables called index, which is not nice.
Diffstat (limited to 'gtk/a11y/gtkscrolledwindowaccessible.c')
-rw-r--r-- | gtk/a11y/gtkscrolledwindowaccessible.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gtk/a11y/gtkscrolledwindowaccessible.c b/gtk/a11y/gtkscrolledwindowaccessible.c index 00cbeab874..3712f39975 100644 --- a/gtk/a11y/gtkscrolledwindowaccessible.c +++ b/gtk/a11y/gtkscrolledwindowaccessible.c @@ -19,7 +19,6 @@ #include "config.h" -#include <string.h> #include <gtk/gtk.h> #include "gtkscrolledwindowaccessible.h" @@ -31,7 +30,7 @@ visibility_changed (GObject *object, GParamSpec *pspec, gpointer user_data) { - if (!strcmp (pspec->name, "visible")) + if (!g_strcmp0 (pspec->name, "visible")) { gint index; gint n_children; |