diff options
author | rbuj <[email protected]> | 2021-12-19 18:35:38 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-12-20 16:57:51 +0100 |
commit | 462949a3bc6b54675e9dec59745504c949856524 (patch) | |
tree | 5476dc5aa5d5ec3ac0490660db87785a53e18822 | |
parent | 54e2bb1acaf71b7b54e796f7bfa311fb32d84830 (diff) | |
download | mate-panel-462949a3bc6b54675e9dec59745504c949856524.tar.bz2 mate-panel-462949a3bc6b54675e9dec59745504c949856524.tar.xz |
Use dashes for applet-[added|removed|move], back-change, size-change
-rw-r--r-- | mate-panel/panel-widget.c | 10 | ||||
-rw-r--r-- | mate-panel/panel.c | 10 |
2 files changed, 10 insertions, 10 deletions
diff --git a/mate-panel/panel-widget.c b/mate-panel/panel-widget.c index 4addccee..7a828021 100644 --- a/mate-panel/panel-widget.c +++ b/mate-panel/panel-widget.c @@ -289,7 +289,7 @@ panel_widget_class_init (PanelWidgetClass *class) GtkContainerClass *container_class = (GtkContainerClass*) class; panel_widget_signals[SIZE_CHANGE_SIGNAL] = - g_signal_new ("size_change", + g_signal_new ("size-change", G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PanelWidgetClass, size_change), @@ -300,7 +300,7 @@ panel_widget_class_init (PanelWidgetClass *class) 0); panel_widget_signals[BACK_CHANGE_SIGNAL] = - g_signal_new ("back_change", + g_signal_new ("back-change", G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PanelWidgetClass, back_change), @@ -311,7 +311,7 @@ panel_widget_class_init (PanelWidgetClass *class) 0); panel_widget_signals[APPLET_MOVE_SIGNAL] = - g_signal_new ("applet_move", + g_signal_new ("applet-move", G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PanelWidgetClass, applet_move), @@ -323,7 +323,7 @@ panel_widget_class_init (PanelWidgetClass *class) G_TYPE_POINTER); panel_widget_signals[APPLET_ADDED_SIGNAL] = - g_signal_new ("applet_added", + g_signal_new ("applet-added", G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PanelWidgetClass, applet_added), @@ -335,7 +335,7 @@ panel_widget_class_init (PanelWidgetClass *class) G_TYPE_POINTER); panel_widget_signals[APPLET_REMOVED_SIGNAL] = - g_signal_new ("applet_removed", + g_signal_new ("applet-removed", G_TYPE_FROM_CLASS (object_class), G_SIGNAL_RUN_LAST, G_STRUCT_OFFSET (PanelWidgetClass, applet_removed), diff --git a/mate-panel/panel.c b/mate-panel/panel.c index 428fff54..2cf86ed4 100644 --- a/mate-panel/panel.c +++ b/mate-panel/panel.c @@ -1321,19 +1321,19 @@ drag_data_recieved_cb (GtkWidget *widget, static void panel_widget_setup(PanelWidget *panel) { - g_signal_connect (panel, "applet_added", + g_signal_connect (panel, "applet-added", G_CALLBACK(mate_panel_applet_added), NULL); - g_signal_connect (panel, "applet_removed", + g_signal_connect (panel, "applet-removed", G_CALLBACK(mate_panel_applet_removed), NULL); - g_signal_connect (panel, "applet_move", + g_signal_connect (panel, "applet-move", G_CALLBACK(mate_panel_applet_move), NULL); - g_signal_connect (panel, "back_change", + g_signal_connect (panel, "back-change", G_CALLBACK (panel_back_change), NULL); - g_signal_connect (panel, "size_change", + g_signal_connect (panel, "size-change", G_CALLBACK (panel_size_change), NULL); } |