implement callback for all layer select button. Fix issue #25

This commit is contained in:
Mario Hüttel 2019-08-25 23:24:24 +02:00
parent 7fd8768fd0
commit 1dc23afa9a

View File

@ -574,8 +574,10 @@ static void gds_render_gui_class_init(GdsRenderGuiClass *klass)
static void on_select_all_layers_clicked(GtkWidget *button, gpointer user_data) static void on_select_all_layers_clicked(GtkWidget *button, gpointer user_data)
{ {
GdsRenderGui *gui; GdsRenderGui *gui;
(void)button;
gui = RENDERER_GUI(user_data); gui = RENDERER_GUI(user_data);
layer_selector_select_all_layers(gui->layer_selector, TRUE);
} }
GtkWindow *gds_render_gui_get_main_window(GdsRenderGui *gui) GtkWindow *gds_render_gui_get_main_window(GdsRenderGui *gui)