diff options
author | Jefferson Delfes <jefferson.delfes@openbossa.org> | 2013-04-17 10:03:05 -0400 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-04-24 16:59:23 +0300 |
commit | ba9b8d1743b00f0a36c69a91c9216d76a3fb0c1c (patch) | |
tree | 020216b72d4dcc5f7d55e46dbc7d1d503c12617c /attrib | |
parent | 9b90cc2eed7fcb03d5b3a08de7d80702814d25c4 (diff) |
attrib: Change GAttrib->stale type from gboolean
There is no reason to GAttrib->stale be gboolean.
Diffstat (limited to 'attrib')
-rw-r--r-- | attrib/gattrib.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/attrib/gattrib.c b/attrib/gattrib.c index 416d17bd0..f6881af92 100644 --- a/attrib/gattrib.c +++ b/attrib/gattrib.c @@ -27,6 +27,7 @@ #endif #include <stdint.h> +#include <stdbool.h> #include <string.h> #include <glib.h> @@ -56,7 +57,7 @@ struct _GAttrib { guint next_cmd_id; GDestroyNotify destroy; gpointer destroy_user_data; - gboolean stale; + bool stale; }; struct command { @@ -279,7 +280,7 @@ static gboolean disconnect_timeout(gpointer data) } done: - attrib->stale = TRUE; + attrib->stale = true; g_attrib_unref(attrib); |