]> git.0d.be Git - empathy.git/blobdiff - libempathy/empathy-pkg-kit.c
libempathy-gtk: fix uninitialized variable
[empathy.git] / libempathy / empathy-pkg-kit.c
index 259cd7f7dd95031eaf8ffac5117bfb85dc7bcf2f..21f703b68166f59ac75b7193f1ef00d9941de3c5 100644 (file)
@@ -19,8 +19,7 @@
  */
 
 #include "config.h"
-
-#include <libempathy/empathy-pkg-kit.h>
+#include "empathy-pkg-kit.h"
 
 typedef struct
 {
@@ -112,7 +111,7 @@ pkg_kit_proxy_new_cb (GObject *source,
 
   g_dbus_proxy_call (proxy, "InstallPackageNames",
       g_variant_new ("(u^a&ss)", ctx->xid, ctx->packages, ctx->options),
-      G_DBUS_CALL_FLAGS_NONE, -1, NULL, install_package_names_cb, ctx);
+      G_DBUS_CALL_FLAGS_NONE, G_MAXINT, NULL, install_package_names_cb, ctx);
 
   g_object_unref (proxy);
 }