Update template api in one more place
The example fragments that are directly embedded in the docs were still using the old api.
This commit is contained in:
@ -479,7 +479,7 @@ example_app_window_class_init (ExampleAppWindowClass *class)
|
||||
{
|
||||
gtk_widget_class_set_template_from_resource (GTK_WIDGET_CLASS (class),
|
||||
"/org/gtk/exampleapp/window.ui");
|
||||
gtk_widget_class_bind_child (GTK_WIDGET_CLASS (class), ExampleAppWindowPrivate, stack);
|
||||
gtk_widget_class_bind_template_child_private (GTK_WIDGET_CLASS (class), ExampleAppWindow, stack);
|
||||
}
|
||||
|
||||
...
|
||||
@ -820,7 +820,7 @@ example_app_window_init (ExampleAppWindow *win)
|
||||
|
||||
...
|
||||
|
||||
priv->text_changed_handler = g_signal_connect (priv->searchentry, "changed",
|
||||
priv->text_changed_handler = g_signal_connect (priv->searchentry, "search-changed",
|
||||
G_CALLBACK (search_text_changed), win);
|
||||
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user