gdbus: Fix some compiler warnings

Code appears to have been copy/pasted from a bit which used _object,
but I think it's clearer to always use the "self" parameter anyways.
This commit is contained in:
Colin Walters 2012-11-15 08:42:36 -05:00
parent a335fd1de8
commit 2aa97e2847
2 changed files with 4 additions and 4 deletions

View File

@ -251,7 +251,7 @@ g_dbus_object_manager_client_get_property (GObject *_object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
G_OBJECT_WARN_INVALID_PROPERTY_ID (manager, prop_id, pspec);
break;
}
}
@ -310,7 +310,7 @@ g_dbus_object_manager_client_set_property (GObject *_object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
G_OBJECT_WARN_INVALID_PROPERTY_ID (manager, prop_id, pspec);
break;
}
}

View File

@ -102,7 +102,7 @@ g_dbus_object_proxy_get_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
G_OBJECT_WARN_INVALID_PROPERTY_ID (proxy, prop_id, pspec);
break;
}
}
@ -130,7 +130,7 @@ g_dbus_object_proxy_set_property (GObject *object,
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (_object, prop_id, pspec);
G_OBJECT_WARN_INVALID_PROPERTY_ID (proxy, prop_id, pspec);
break;
}
}