aboutsummaryrefslogtreecommitdiff
path: root/libindicator/indicator-object.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-11-05 10:56:41 -0600
committerTed Gould <ted@canonical.com>2009-11-05 10:56:41 -0600
commita7b77875edb12a6ef46e58b6f26324d25c10b7cd (patch)
treef4ca8c148080c1a60096762729946b7f673fe9d8 /libindicator/indicator-object.c
parentdb9e8f49d8136dfbec1539812d7cf76d90b9bc69 (diff)
downloadlibayatana-indicator-a7b77875edb12a6ef46e58b6f26324d25c10b7cd.tar.gz
libayatana-indicator-a7b77875edb12a6ef46e58b6f26324d25c10b7cd.tar.bz2
libayatana-indicator-a7b77875edb12a6ef46e58b6f26324d25c10b7cd.zip
64-bit fix in that GTypes are not ints on 64-bit
Diffstat (limited to 'libindicator/indicator-object.c')
-rw-r--r--libindicator/indicator-object.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index a492038..e87fa5f 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -249,11 +249,11 @@ indicator_object_new_from_file (const gchar * file)
error'd state. */
object = g_object_new(lget_type(), NULL);
if (object == NULL) {
- g_warning("Unable to build an object if type '%d' in module: %s", lget_type(), file);
+ g_warning("Unable to build an object if type '%d' in module: %s", (gint)lget_type(), file);
goto unrefandout;
}
if (!INDICATOR_IS_OBJECT(object)) {
- g_warning("Type '%d' in file %s is not a subclass of IndicatorObject.", lget_type(), file);
+ g_warning("Type '%d' in file %s is not a subclass of IndicatorObject.", (gint)lget_type(), file);
goto unrefandout;
}