summaryrefslogtreecommitdiff
path: root/attrib
diff options
context:
space:
mode:
Diffstat (limited to 'attrib')
-rw-r--r--attrib/gattrib.c5
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);