~ubuntu-branches/ubuntu/saucy/gconf/saucy

« back to all changes in this revision

Viewing changes to gconf/gconfd-dbus.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2011-08-16 12:12:23 UTC
  • mfrom: (1.1.31 upstream)
  • Revision ID: james.westby@ubuntu.com-20110816121223-20e8lg1110yb6y75
Tags: 3.1.6-0ubuntu1
New upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
75
75
      return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
76
76
    }
77
77
                                                                                
78
 
  if (strcmp (dbus_message_get_interface (message),
79
 
              GCONF_DBUS_SERVER_INTERFACE) != 0) 
 
78
  if (g_strcmp0 (dbus_message_get_interface (message),
 
79
                 GCONF_DBUS_SERVER_INTERFACE) != 0)
80
80
    {
81
81
      g_print ("Not correct interface: \"%s\"\n",
82
82
               dbus_message_get_interface (message));
140
140
 
141
141
  str = gconf_database_dbus_get_path (db);
142
142
  dbus_message_append_args (reply,
143
 
                            DBUS_TYPE_STRING, &str,
 
143
                            DBUS_TYPE_OBJECT_PATH, &str,
144
144
                            DBUS_TYPE_INVALID);
145
145
  
146
146
  if (!dbus_connection_send (connection, reply, NULL))