summaryrefslogtreecommitdiff
path: root/mateweather/mateweather-dialog.c
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-08 11:59:34 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-04-16 14:35:58 +0200
commit06ec8896af725b80d9adc7f94699001b0dc23489 (patch)
treee40f741a7cf2ab7946feaf7ba9bf9318959d4031 /mateweather/mateweather-dialog.c
parentea2c6735e3c8a5e5a91e5472123eeaee70716478 (diff)
downloadmate-applets-06ec8896af725b80d9adc7f94699001b0dc23489.tar.bz2
mate-applets-06ec8896af725b80d9adc7f94699001b0dc23489.tar.xz
Remove unused-variable warnings
Diffstat (limited to 'mateweather/mateweather-dialog.c')
-rw-r--r--mateweather/mateweather-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mateweather/mateweather-dialog.c b/mateweather/mateweather-dialog.c
index b6a67b14..b84f94c8 100644
--- a/mateweather/mateweather-dialog.c
+++ b/mateweather/mateweather-dialog.c
@@ -60,14 +60,14 @@ G_DEFINE_TYPE_WITH_PRIVATE (MateWeatherDialog, mateweather_dialog, GTK_TYPE_DIAL
static void mateweather_dialog_save_geometry(MateWeatherDialog* dialog)
{
+#if 0
GSettings* settings;
int w, h;
- settings = dialog->priv->applet->settings;
+ gtk_window_get_size (GTK_WINDOW (dialog), &w, &h);
- gtk_window_get_size(GTK_WINDOW(dialog), &w, &h);
+ settings = dialog->priv->applet->settings;
-#if 0
/* FIXME those keys are not in org.mate.weather! */
g_settings_set_int (settings, "dialog-width", w);
g_settings_set_int (settings, "dialog-height", h);
@@ -76,12 +76,12 @@ static void mateweather_dialog_save_geometry(MateWeatherDialog* dialog)
static void mateweather_dialog_load_geometry(MateWeatherDialog* dialog)
{
+#if 0
GSettings* settings;
int w, h;
settings = dialog->priv->applet->settings;
-#if 0
/* FIXME those keys are not in org.mate.weather! */
w = g_settings_get_int (settings, "dialog-width");
h = g_settings_get_int (settings, "dialog-height");