Commit 9f06252d authored by Paolo Bacchilega's avatar Paolo Bacchilega

webalbums: removed unused function

parent 57c1bb9e
......@@ -50,13 +50,3 @@ wa__gth_browser_construct_cb (GthBrowser *browser)
NULL,
NULL);
}
void
wa__gth_browser_update_sensitivity_cb (GthBrowser *browser)
{
int n_selected;
n_selected = gth_file_selection_get_n_selected (GTH_FILE_SELECTION (gth_browser_get_file_list_view (browser)));
gth_window_enable_action (GTH_WINDOW (browser), "export-web-album", n_selected > 0);
}
......@@ -25,6 +25,5 @@
#include <gthumb.h>
void wa__gth_browser_construct_cb (GthBrowser *browser);
void wa__gth_browser_update_sensitivity_cb (GthBrowser *browser);
#endif /* CALLBACKS_H */
......@@ -30,7 +30,6 @@ G_MODULE_EXPORT void
gthumb_extension_activate (void)
{
gth_hook_add_callback ("gth-browser-construct", 70, G_CALLBACK (wa__gth_browser_construct_cb), NULL);
/*gth_hook_add_callback ("gth-browser-update-sensitivity", 10, G_CALLBACK (wa__gth_browser_update_sensitivity_cb), NULL);*/
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment