summaryrefslogtreecommitdiff
path: root/mateweather/src
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-12-18 14:52:15 +0100
committerLuke from DC <[email protected]>2022-08-08 03:41:08 +0000
commitdc37d79d6e2797f7f613051261466b93fc01107d (patch)
tree113d6524a05b1a6c2410b11931ae6cea19600099 /mateweather/src
parent281cf3a35e1c492d02f82eaa30b006d19d72af2f (diff)
downloadmate-applets-dc37d79d6e2797f7f613051261466b93fc01107d.tar.bz2
mate-applets-dc37d79d6e2797f7f613051261466b93fc01107d.tar.xz
Use dashes instead of underscores in signal names
Diffstat (limited to 'mateweather/src')
-rw-r--r--mateweather/src/mateweather-applet.c8
-rw-r--r--mateweather/src/mateweather-pref.c2
2 files changed, 5 insertions, 5 deletions
diff --git a/mateweather/src/mateweather-applet.c b/mateweather/src/mateweather-applet.c
index 098b620d..4000b692 100644
--- a/mateweather/src/mateweather-applet.c
+++ b/mateweather/src/mateweather-applet.c
@@ -345,11 +345,11 @@ void mateweather_applet_create (MateWeatherApplet *gw_applet)
gtk_window_set_default_icon_name ("weather-storm");
- g_signal_connect (gw_applet->applet, "change_orient",
+ g_signal_connect (gw_applet->applet, "change-orient",
G_CALLBACK (change_orient_cb),
gw_applet);
- g_signal_connect (gw_applet->applet, "size_allocate",
+ g_signal_connect (gw_applet->applet, "size-allocate",
G_CALLBACK (size_allocate_cb),
gw_applet);
@@ -357,11 +357,11 @@ void mateweather_applet_create (MateWeatherApplet *gw_applet)
G_CALLBACK (applet_destroy),
gw_applet);
- g_signal_connect (gw_applet->applet, "button_press_event",
+ g_signal_connect (gw_applet->applet, "button-press-event",
G_CALLBACK(clicked_cb),
gw_applet);
- g_signal_connect (gw_applet->applet, "key_press_event",
+ g_signal_connect (gw_applet->applet, "key-press-event",
G_CALLBACK (key_press_cb),
gw_applet);
diff --git a/mateweather/src/mateweather-pref.c b/mateweather/src/mateweather-pref.c
index 32314f37..2f5b268f 100644
--- a/mateweather/src/mateweather-pref.c
+++ b/mateweather/src/mateweather-pref.c
@@ -1174,7 +1174,7 @@ mateweather_pref_create (MateWeatherPref* pref)
#ifdef RADARMAP
g_signal_connect (pref->priv->basic_radar_btn, "toggled", G_CALLBACK (on_radar_toggled), pref);
g_signal_connect (pref->priv->basic_radar_url_btn, "toggled", G_CALLBACK (on_use_radar_url_toggled), pref);
- g_signal_connect (pref->priv->basic_radar_url_entry, "focus_out_event", G_CALLBACK (on_radar_url_changed), pref);
+ g_signal_connect (pref->priv->basic_radar_url_entry, "focus-out-event", G_CALLBACK (on_radar_url_changed), pref);
#endif /* RADARMAP */
#ifdef HAVE_LIBNOTIFY
g_signal_connect (pref->priv->basic_show_notifications_btn, "toggled", G_CALLBACK (on_show_notifications_toggled), pref);