mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-15 06:40: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
|
struct _GtkApplicationPrivate
|
||||||
{
|
{
|
||||||
char *appid;
|
|
||||||
GtkActionGroup *main_actions;
|
GtkActionGroup *main_actions;
|
||||||
|
|
||||||
GtkWindow *default_window;
|
GtkWindow *default_window;
|
||||||
@ -222,7 +221,7 @@ gtk_application_new (gint *argc,
|
|||||||
else
|
else
|
||||||
argv_for_app = NULL;
|
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 ();
|
platform_data = gtk_application_format_activation_data ();
|
||||||
g_application_register_with_data (G_APPLICATION (app), argc_for_app, argv_for_app,
|
g_application_register_with_data (G_APPLICATION (app), argc_for_app, argv_for_app,
|
||||||
|
Loading…
Reference in New Issue
Block a user