[gnome-builder] libidemm: Remove unnecessary _CONVERSION() for GDBusProxy
- From: Matthew Leeds <mwleeds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libidemm: Remove unnecessary _CONVERSION() for GDBusProxy
- Date: Tue, 5 Jul 2016 00:29:57 +0000 (UTC)
commit 543c1df7b1a27c2816d21b3e690f13dfc77197bc
Author: Matthew Leeds <mleeds redhat com>
Date: Mon Jul 4 14:55:27 2016 -0400
libidemm: Remove unnecessary _CONVERSION() for GDBusProxy
Thanks to commit 69fad0acec4ee0cbefeb5b4d4ccb362415e848cf in glibmm,
gmmproc now knows how to convert GDBusProxy* to
Glib::RefPtr<Gio::DBus::Proxy> so we no longer need this _CONVERSION()
sattement. See https://bugzilla.gnome.org/show_bug.cgi?id=764547 for more
information.
https://bugzilla.gnome.org/show_bug.cgi?id=768411
libidemm/configure.ac | 2 +-
libidemm/src/application.hg | 5 +----
2 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/libidemm/configure.ac b/libidemm/configure.ac
index efc9391..56422cc 100644
--- a/libidemm/configure.ac
+++ b/libidemm/configure.ac
@@ -1,5 +1,5 @@
m4_define([gtkmm_required_version], [3.19.12])
-m4_define([glibmm_required_version], [2.48.0])
+m4_define([glibmm_required_version], [2.49.1])
AC_SUBST([IDEMM_SO_VERSION], [0:0:0])
diff --git a/libidemm/src/application.hg b/libidemm/src/application.hg
index c270db1..7da5110 100644
--- a/libidemm/src/application.hg
+++ b/libidemm/src/application.hg
@@ -49,10 +49,7 @@ public:
_WRAP_METHOD(Glib::ustring get_keybindings_mode() const, ide_application_get_keybindings_mode)
_WRAP_METHOD(Glib::RefPtr<Gio::Menu> get_menu_by_id(const Glib::ustring& id),
ide_application_get_menu_by_id)
_WRAP_METHOD(Glib::RefPtr<Ide::RecentProjects> get_recent_projects(), ide_application_get_recent_projects)
-
-// TODO: remove the conversion when bug #764547 is fixed
-#m4 _CONVERSION(`GDBusProxy*',`Glib::RefPtr<Gio::DBus::Proxy>',`Glib::wrap($3)')
-_WRAP_METHOD(Glib::RefPtr<Gio::DBus::Proxy> get_worker_finish(const Glib::RefPtr<Gio::AsyncResult>& result),
ide_application_get_worker_finish, errthrow)
+ _WRAP_METHOD(Glib::RefPtr<Gio::DBus::Proxy> get_worker_finish(const Glib::RefPtr<Gio::AsyncResult>&
result), ide_application_get_worker_finish, errthrow)
void get_worker_async(const Glib::ustring& plugin_name, const Gio::SlotAsyncReady& slot, const
Glib::RefPtr<Gio::Cancellable>& cancellable);
void get_worker_async(const Glib::ustring& plugin_name, const Gio::SlotAsyncReady& slot);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]