~ubuntu-branches/ubuntu/saucy/telepathy-mission-control-5/saucy

« back to all changes in this revision

Viewing changes to src/mcd-storage.c

  • Committer: Package Import Robot
  • Author(s): Robert Ancell
  • Date: 2013-01-10 11:07:51 UTC
  • mfrom: (0.13.5)
  • Revision ID: package-import@ubuntu.com-20130110110751-fzge1h4wgrwqu1zi
Tags: 1:5.14.0-0ubuntu1
* New upstream release
* debian/control:
  - Use standards version 3.9.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
}
154
154
 
155
155
McdStorage *
156
 
mcd_storage_new ()
 
156
mcd_storage_new (TpDBusDaemon *dbus_daemon)
157
157
{
158
158
  return g_object_new (MCD_TYPE_STORAGE,
 
159
      "dbus-daemon", dbus_daemon,
159
160
      NULL);
160
161
}
161
162
 
162
 
void
163
 
mcd_storage_set_dbus_daemon (McdStorage *self,
164
 
    TpDBusDaemon *dbusd)
165
 
{
166
 
  GValue value = { 0 };
167
 
 
168
 
  g_value_init (&value, G_TYPE_OBJECT);
169
 
  g_value_take_object (&value, dbusd);
170
 
 
171
 
  g_object_set_property (G_OBJECT (self), "dbus-daemon", &value);
172
 
}
173
 
 
174
163
static gchar *
175
164
get_value (const McpAccountManager *ma,
176
165
    const gchar *account,
1165
1154
    const gchar * const *strv,
1166
1155
    gboolean secret)
1167
1156
{
1168
 
  GValue v = { 0, };
 
1157
  GValue v = G_VALUE_INIT;
1169
1158
  static const gchar * const *empty = { NULL };
1170
1159
  gboolean ret;
1171
1160