summaryrefslogtreecommitdiff
path: root/gio/src/application.ccg
diff options
context:
space:
mode:
authorJosé Alburquerque <jaalburqu@svn.gnome.org>2012-02-24 00:57:17 -0500
committerJosé Alburquerque <jaalburqu@svn.gnome.org>2012-02-24 00:59:27 -0500
commitdc9c8c157625ffc0b76c991508ce84c134b497ca (patch)
tree04b138d311767304e84315f0ed7f9798a2600f9e /gio/src/application.ccg
parentf97840c840fc99507f6e91123f88456a3900b589 (diff)
downloadglibmm-dc9c8c157625ffc0b76c991508ce84c134b497ca.tar.gz
Gio::Application: Add missing virtual functions and methods.
* gio/src/application.{ccg,hg}: Add the rest of the virtual functions -- all except the one with a GVariantBuilder parameter because that type is not wrapped yet. Also add the [set|get]_default() methods wrapping the respective C functions. * gio/src/gio_vfuncs.defs: Add the rest of GApplication's virtual function definitions so they can be wrapped. * tools/m4/convert_gio.m4: Add GApplication conversions.
Diffstat (limited to 'gio/src/application.ccg')
-rw-r--r--gio/src/application.ccg6
1 files changed, 6 insertions, 0 deletions
diff --git a/gio/src/application.ccg b/gio/src/application.ccg
index 25b0a630..2942d75a 100644
--- a/gio/src/application.ccg
+++ b/gio/src/application.ccg
@@ -121,6 +121,12 @@ Application::Application(const Glib::ustring& application_id, ApplicationFlags f
}
+//static
+void Application::unset_default()
+{
+ g_application_set_default(0);
+}
+
void Application_Class::open_callback(GApplication* self, GFile** files,
gint n_files, const gchar *hint)
{