mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 19:00:08 +00:00
Update to GApplication api changes
This commit is contained in:
parent
0491b409a9
commit
b366ae9c22
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user