forked from AuroraMiddleware/gtk
[gtk-example-application] Use the new api
This commit is contained in:
parent
1569f722cd
commit
009e26f32f
@ -35,7 +35,7 @@ main (int argc, char **argv)
|
|||||||
GtkAction *action;
|
GtkAction *action;
|
||||||
GtkActionGroup *actions;
|
GtkActionGroup *actions;
|
||||||
|
|
||||||
app = gtk_application_new (&argc, &argv, "org.gtk.Example");
|
app = gtk_application_new ("org.gtk.Example", &argc, &argv);
|
||||||
builder = gtk_builder_new ();
|
builder = gtk_builder_new ();
|
||||||
if (!gtk_builder_add_from_string (builder, builder_data, -1, NULL))
|
if (!gtk_builder_add_from_string (builder, builder_data, -1, NULL))
|
||||||
g_error ("failed to parse UI");
|
g_error ("failed to parse UI");
|
||||||
|
Loading…
Reference in New Issue
Block a user