Commit c9c82720 authored by Matthias Clasen's avatar Matthias Clasen

Make examples use search-changed signal

This updates the examples for the new GtkSearchEntry api.
parent 33438a3b
......@@ -820,8 +820,7 @@ example_app_window_init (ExampleAppWindow *win)
...
priv->text_changed_handler = g_signal_connect (priv->searchentry, "search-changed",
G_CALLBACK (search_text_changed), win);
gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), search_text_changed);
...
......
......@@ -41,7 +41,7 @@
<property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="searchentry">
<signal name="changed" handler="search_text_changed"/>
<signal name="search-changed" handler="search_text_changed"/>
<property name="visible">True</property>
</object>
</child>
......
......@@ -56,7 +56,7 @@
<property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="searchentry">
<signal name="changed" handler="search_text_changed"/>
<signal name="search-changed" handler="search_text_changed"/>
<property name="visible">True</property>
</object>
</child>
......
......@@ -73,7 +73,7 @@
<property name="visible">True</property>
<child>
<object class="GtkSearchEntry" id="searchentry">
<signal name="changed" handler="search_text_changed"/>
<signal name="search-changed" handler="search_text_changed"/>
<property name="visible">True</property>
</object>
</child>
......
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