[gtk+] Don't implement GApplication mainloop
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't implement GApplication mainloop
- Date: Wed, 9 Nov 2011 05:23:22 +0000 (UTC)
commit 7e22a5350ca50a1e190f32f52b45380b76a059a9
Author: Ryan Lortie <desrt desrt ca>
Date: Tue Sep 13 22:47:30 2011 -0400
Don't implement GApplication mainloop
Let the default GApplication implementation take care of it.
https://bugzilla.gnome.org/show_bug.cgi?id=658805
gtk/gtkapplication.c | 16 ----------------
1 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index c192d75..f0bba43 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -30,7 +30,6 @@
#include "gtkapplication.h"
#include "gtkmarshalers.h"
#include "gtkwindow.h"
-#include "gtkmain.h"
#include <gdk/gdk.h>
#ifdef GDK_WINDOWING_X11
@@ -104,18 +103,6 @@ gtk_application_startup (GApplication *application)
}
static void
-gtk_application_quit_mainloop (GApplication *application)
-{
- gtk_main_quit ();
-}
-
-static void
-gtk_application_run_mainloop (GApplication *application)
-{
- gtk_main ();
-}
-
-static void
gtk_application_add_platform_data (GApplication *application,
GVariantBuilder *builder)
{
@@ -208,9 +195,6 @@ gtk_application_class_init (GtkApplicationClass *class)
application_class->after_emit = gtk_application_after_emit;
application_class->startup = gtk_application_startup;
- application_class->quit_mainloop = gtk_application_quit_mainloop;
- application_class->run_mainloop = gtk_application_run_mainloop;
-
class->window_added = gtk_application_window_added;
class->window_removed = gtk_application_window_removed;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]