summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonsta <[email protected]>2017-02-07 17:53:08 +0300
committermonsta <[email protected]>2017-02-07 17:53:08 +0300
commit84c80aab0d62d32332034a96ff469c35242bdabe (patch)
tree87ce416fec5852a47b6b972df3d6280206983aae
parentc4e12dd23b89264956f07faebd46fcfe1d4adf9a (diff)
downloadmate-applets-84c80aab0d62d32332034a96ff469c35242bdabe.tar.bz2
mate-applets-84c80aab0d62d32332034a96ff469c35242bdabe.tar.xz
mateweather: fix build warning
-rw-r--r--mateweather/mateweather-pref.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mateweather/mateweather-pref.c b/mateweather/mateweather-pref.c
index dc9338d0..f3072362 100644
--- a/mateweather/mateweather-pref.c
+++ b/mateweather/mateweather-pref.c
@@ -776,7 +776,7 @@ static void mateweather_pref_create(MateWeatherPref* pref)
GtkWidget* pref_basic_update_alignment;
GtkWidget* pref_basic_update_lbl;
GtkWidget* pref_basic_update_hbox;
- GObject* pref_basic_update_spin_adj;
+ GtkAdjustment* pref_basic_update_spin_adj;
GtkWidget* pref_basic_update_sec_lbl;
GtkWidget* pref_basic_note_lbl;
GtkWidget* pref_loc_hbox;
@@ -1055,7 +1055,7 @@ static void mateweather_pref_create(MateWeatherPref* pref)
gtk_widget_show (pref_basic_update_hbox);
pref_basic_update_spin_adj = gtk_adjustment_new (30, 1, 3600, 5, 25, 1);
- pref->priv->basic_update_spin = gtk_spin_button_new (GTK_ADJUSTMENT (pref_basic_update_spin_adj), 1, 0);
+ pref->priv->basic_update_spin = gtk_spin_button_new (pref_basic_update_spin_adj, 1, 0);
gtk_widget_show (pref->priv->basic_update_spin);
gtk_spin_button_set_numeric (GTK_SPIN_BUTTON (pref->priv->basic_update_spin), TRUE);