[gnome-control-center] GVariant API adjustment: byte_array -> bytestring
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] GVariant API adjustment: byte_array -> bytestring
- Date: Thu, 8 Jul 2010 02:38:45 +0000 (UTC)
commit c3c00a7b4a35756d3e8bfb4e49308fa60cf1d215
Author: Ryan Lortie <desrt desrt ca>
Date: Wed Jul 7 22:38:53 2010 -0400
GVariant API adjustment: byte_array -> bytestring
shell/control-center.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index 6f5fe18..7139fda 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -43,7 +43,7 @@ application_prepare_action_cb (GApplication *application, GVariant *arguments,
if (temp != NULL)
{
GError *err = NULL;
- const gchar *id = g_variant_get_byte_array (temp, NULL);
+ const gchar *id = g_variant_get_bytestring (temp);
if (!cc_shell_set_active_panel_from_id (CC_SHELL (shell), id, &err))
{
if (err)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]