Remove unused reconfigure callbacks from 'dclock' and 'menu' plugins.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 22 Nov 2014 18:07:28 +0000 (20:07 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 22 Nov 2014 18:07:28 +0000 (20:07 +0200)
plugins/dclock.c
plugins/menu.c

index b621e6d..190b7db 100644 (file)
@@ -427,12 +427,6 @@ static GtkWidget *dclock_configure(LXPanel *panel, GtkWidget *p)
         NULL);
 }
 
-/* Callback when panel configuration changes. */
-static void dclock_reconfigure(LXPanel *panel, GtkWidget *p)
-{
-    dclock_apply_configuration(p);
-}
-
 /* Plugin descriptor. */
 LXPanelPluginInit lxpanel_static_plugin_dclock = {
     .name = N_("Digital Clock"),
@@ -440,6 +434,5 @@ LXPanelPluginInit lxpanel_static_plugin_dclock = {
 
     .new_instance = dclock_constructor,
     .config = dclock_configure,
-    .reconfigure = dclock_reconfigure,
     .button_press_event = dclock_button_press_event
 };
index 2e3bd4a..be63519 100644 (file)
@@ -1016,19 +1016,12 @@ static GtkWidget *menu_config(LXPanel *panel, GtkWidget *p)
                                       NULL);
 }
 
-/* Callback when panel configuration changes. */
-static void menu_panel_configuration_changed(LXPanel *panel, GtkWidget *p)
-{
-    apply_config(p);
-}
-
 LXPanelPluginInit lxpanel_static_plugin_menu = {
     .name = N_("Menu"),
     .description = N_("Application Menu"),
 
     .new_instance = menu_constructor,
     .config = menu_config,
-    .reconfigure = menu_panel_configuration_changed,
     .button_press_event = menu_button_press_event,
     .show_system_menu = show_system_menu
 };