[recipes/more-cuisines: 2/5] Rename a callback
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes/more-cuisines: 2/5] Rename a callback
- Date: Sun, 5 Mar 2017 17:58:16 +0000 (UTC)
commit 1c482708668cf4f926ed70072e0e4acdf94418c3
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Mar 5 12:30:51 2017 -0500
Rename a callback
This is in preparation for adding more expander callbacks.
src/gr-cuisines-page.c | 4 ++--
src/gr-cuisines-page.ui | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gr-cuisines-page.c b/src/gr-cuisines-page.c
index 602c361..ea4303f 100644
--- a/src/gr-cuisines-page.c
+++ b/src/gr-cuisines-page.c
@@ -86,7 +86,7 @@ gr_cuisines_page_unexpand (GrCuisinesPage *page)
}
static void
-expander_button_clicked (GrCuisinesPage *page)
+season_expander_button_clicked (GrCuisinesPage *page)
{
gboolean expanded;
@@ -214,7 +214,7 @@ gr_cuisines_page_class_init (GrCuisinesPageClass *klass)
gtk_widget_class_bind_template_child (widget_class, GrCuisinesPage, seasonal_more);
gtk_widget_class_bind_template_child (widget_class, GrCuisinesPage, seasonal_expander_image);
- gtk_widget_class_bind_template_callback (widget_class, expander_button_clicked);
+ gtk_widget_class_bind_template_callback (widget_class, season_expander_button_clicked);
}
GtkWidget *
diff --git a/src/gr-cuisines-page.ui b/src/gr-cuisines-page.ui
index eb9dbe4..1860422 100644
--- a/src/gr-cuisines-page.ui
+++ b/src/gr-cuisines-page.ui
@@ -118,7 +118,7 @@
<property name="margin-end">9</property>
<property name="valign">center</property>
<property name="relief">none</property>
- <signal name="clicked" handler="expander_button_clicked" swapped="yes"/>
+ <signal name="clicked" handler="season_expander_button_clicked" swapped="yes"/>
<style>
<class name="image-cutton"/>
<class name="circular"/>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]