mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2025-01-07 12:25:31 +00:00
main: Remove needless cast to GtkApplication
This commit is contained in:
parent
027c49e8bd
commit
5e636edb7d
1 changed files with 3 additions and 3 deletions
|
@ -32,15 +32,15 @@ int
|
||||||
main (int argc,
|
main (int argc,
|
||||||
char **argv)
|
char **argv)
|
||||||
{
|
{
|
||||||
GtkApplication *app;
|
GApplication *app;
|
||||||
int status;
|
int status;
|
||||||
|
|
||||||
textdomain (GETTEXT_PACKAGE);
|
textdomain (GETTEXT_PACKAGE);
|
||||||
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
|
||||||
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
bindtextdomain (GETTEXT_PACKAGE, LOCALEDIR);
|
||||||
|
|
||||||
app = GTK_APPLICATION (calls_application_new ());
|
app = G_APPLICATION (calls_application_new ());
|
||||||
status = g_application_run (G_APPLICATION (app), argc, argv);
|
status = g_application_run (app, argc, argv);
|
||||||
g_object_unref (app);
|
g_object_unref (app);
|
||||||
|
|
||||||
return status;
|
return status;
|
||||||
|
|
Loading…
Reference in a new issue