[gtk+] Update to GApplication api changes
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Update to GApplication api changes
- Date: Tue, 8 Jun 2010 13:05:16 +0000 (UTC)
commit b366ae9c22ee9981b6141ac6d81a273b55a5ee45
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 8 08:28:01 2010 -0400
Update to GApplication api changes
gtk/gtkapplication.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index c8dbde9..843705f 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -84,7 +84,6 @@ static guint gtk_application_signals[LAST_SIGNAL] = { 0 };
struct _GtkApplicationPrivate
{
- char *appid;
GtkActionGroup *main_actions;
GtkWindow *default_window;
@@ -222,7 +221,7 @@ gtk_application_new (gint *argc,
else
argv_for_app = NULL;
- app = g_object_new (GTK_TYPE_APPLICATION, "appid", appid, NULL);
+ app = g_object_new (GTK_TYPE_APPLICATION, "application-id", appid, NULL);
platform_data = gtk_application_format_activation_data ();
g_application_register_with_data (G_APPLICATION (app), argc_for_app, argv_for_app,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]