diff options
author | rbuj <[email protected]> | 2021-12-18 14:31:49 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-19 17:46:41 +0100 |
commit | ede1f04954c5b64dbdaea7a75aecc1153cc6e9b3 (patch) | |
tree | b29cb6bfa05a9b88194631e964f55bbcfcb70ef8 /libmate-panel-applet | |
parent | 0791b258daba11925ced8406db204f27b827202f (diff) | |
download | mate-panel-ede1f04954c5b64dbdaea7a75aecc1153cc6e9b3.tar.bz2 mate-panel-ede1f04954c5b64dbdaea7a75aecc1153cc6e9b3.tar.xz |
Use dashes instead of underscores in signal names
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 6 | ||||
-rw-r--r-- | libmate-panel-applet/test-dbus-applet.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 1a1751c6..33260611 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -2088,7 +2088,7 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass) G_PARAM_READWRITE)); mate_panel_applet_signals [CHANGE_ORIENT] = - g_signal_new ("change_orient", + g_signal_new ("change-orient", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MatePanelAppletClass, change_orient), @@ -2100,7 +2100,7 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass) G_TYPE_UINT); mate_panel_applet_signals [CHANGE_SIZE] = - g_signal_new ("change_size", + g_signal_new ("change-size", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MatePanelAppletClass, change_size), @@ -2112,7 +2112,7 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass) G_TYPE_INT); mate_panel_applet_signals [CHANGE_BACKGROUND] = - g_signal_new ("change_background", + g_signal_new ("change-background", G_TYPE_FROM_CLASS (klass), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (MatePanelAppletClass, change_background), diff --git a/libmate-panel-applet/test-dbus-applet.c b/libmate-panel-applet/test-dbus-applet.c index 27c3a308..0da1e3ad 100644 --- a/libmate-panel-applet/test-dbus-applet.c +++ b/libmate-panel-applet/test-dbus-applet.c @@ -172,17 +172,17 @@ test_applet_fill (TestApplet *applet) mate_panel_applet_set_flags (MATE_PANEL_APPLET (applet), MATE_PANEL_APPLET_HAS_HANDLE); g_signal_connect (G_OBJECT (applet), - "change_orient", + "change-orient", G_CALLBACK (test_applet_handle_orient_change), NULL); g_signal_connect (G_OBJECT (applet), - "change_size", + "change-size", G_CALLBACK (test_applet_handle_size_change), NULL); g_signal_connect (G_OBJECT (applet), - "change_background", + "change-background", G_CALLBACK (test_applet_handle_background_change), NULL); |