diff options
author | rbuj <[email protected]> | 2021-10-27 17:46:47 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-11-21 15:08:09 +0100 |
commit | 8281e9833a31d8731e8dd405fea2b1138dcc4ff8 (patch) | |
tree | d1bc46ccb1855b1fb892779f25a2a333a9962820 /mateweather/src | |
parent | bb0195c17052309b55c23629e24465e1ef4dc70c (diff) | |
download | mate-applets-8281e9833a31d8731e8dd405fea2b1138dcc4ff8.tar.bz2 mate-applets-8281e9833a31d8731e8dd405fea2b1138dcc4ff8.tar.xz |
Use a blank line at most
Diffstat (limited to 'mateweather/src')
-rw-r--r-- | mateweather/src/main.c | 1 | ||||
-rw-r--r-- | mateweather/src/mateweather-applet.c | 2 | ||||
-rw-r--r-- | mateweather/src/mateweather-pref.c | 2 | ||||
-rw-r--r-- | mateweather/src/mateweather-pref.h | 3 |
4 files changed, 0 insertions, 8 deletions
diff --git a/mateweather/src/main.c b/mateweather/src/main.c index de8d8436..f472fa23 100644 --- a/mateweather/src/main.c +++ b/mateweather/src/main.c @@ -26,7 +26,6 @@ #include "mateweather-dialog.h" #include "mateweather-applet.h" - static gboolean mateweather_applet_new(MatePanelApplet* applet, const gchar* iid, gpointer data) { MateWeatherApplet* gw_applet; diff --git a/mateweather/src/mateweather-applet.c b/mateweather/src/mateweather-applet.c index 3165607e..098b620d 100644 --- a/mateweather/src/mateweather-applet.c +++ b/mateweather/src/mateweather-applet.c @@ -105,7 +105,6 @@ static void update_cb (GtkAction *action, mateweather_update (gw_applet); } - static const GtkActionEntry weather_applet_menu_actions [] = { { "Details", NULL, N_("_Details"), NULL, NULL, @@ -523,7 +522,6 @@ gint suncalc_timeout_cb (gpointer data) return 0; /* Do not repeat timeout (will be reset by update_finish) */ } - void mateweather_update (MateWeatherApplet *gw_applet) { WeatherPrefs prefs; diff --git a/mateweather/src/mateweather-pref.c b/mateweather/src/mateweather-pref.c index 12ef8864..d7ffe868 100644 --- a/mateweather/src/mateweather-pref.c +++ b/mateweather/src/mateweather-pref.c @@ -798,7 +798,6 @@ on_response (GtkDialog *dialog, } } - static void mateweather_pref_create (MateWeatherPref* pref) { @@ -834,7 +833,6 @@ mateweather_pref_create (MateWeatherPref* pref) GtkWidget* pref_find_hbox; GtkWidget* image; - g_object_set (pref, "destroy-with-parent", TRUE, NULL); gtk_window_set_title (GTK_WINDOW (pref), _("Weather Preferences")); gtk_dialog_add_buttons (GTK_DIALOG (pref), "gtk-close", GTK_RESPONSE_CLOSE, "gtk-help", GTK_RESPONSE_HELP, NULL); diff --git a/mateweather/src/mateweather-pref.h b/mateweather/src/mateweather-pref.h index f3cc901b..c2470a78 100644 --- a/mateweather/src/mateweather-pref.h +++ b/mateweather/src/mateweather-pref.h @@ -40,7 +40,6 @@ struct _MateWeatherPref MateWeatherPrefPrivate *priv; }; - struct _MateWeatherPrefClass { GtkDialogClass parent_class; @@ -49,10 +48,8 @@ struct _MateWeatherPrefClass GType mateweather_pref_get_type (void); GtkWidget *mateweather_pref_new (MateWeatherApplet *applet); - void set_access_namedesc (GtkWidget *widget, const gchar *name, const gchar *desc); - G_END_DECLS #endif /* __MATEWEATHER_PREF_H */ |