Commit 70cb5c6e authored by Felipe Borges's avatar Felipe Borges 👣

examples: Add the FrdpDisplay widget to the example

parent cb5039a3
......@@ -22,6 +22,7 @@ static void
on_activate (GtkApplication *app)
{
GtkWindow *window;
GtkWidget *display;
g_assert (GTK_IS_APPLICATION (app));
......@@ -34,6 +35,11 @@ on_activate (GtkApplication *app)
"default-height", 300,
NULL);
display = frdp_display_new ();
gtk_container_add (GTK_CONTAINER (window), display);
gtk_widget_show (display);
gtk_window_present (window);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment