diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/tab-label.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/tab-label.c b/src/tab-label.c index 3f57fb6..5e7cc32 100644 --- a/src/tab-label.c +++ b/src/tab-label.c @@ -100,18 +100,6 @@ new_window_clicked_cb(GtkWidget G_GNUC_UNUSED *button, MqTabLabel *tab_label) gtk_grid_attach(GTK_GRID(button_grid), \ buttons[Y * BUTTON_COLS + X], X, Y, 1, 1); \ } G_STMT_END -#define NEW_TOGGLE(Y, X, ICON, TOOLTIP) \ - G_STMT_START { \ - buttons[Y * BUTTON_COLS + X] = gtk_toggle_button_new(); \ - gtk_button_set_image(GTK_BUTTON(buttons[Y * BUTTON_COLS + X]), \ - gtk_image_new_from_icon_name(ICON, \ - GTK_ICON_SIZE_BUTTON)); \ - gtk_widget_set_tooltip_text(buttons[Y * BUTTON_COLS + X], \ - TOOLTIP); \ - gtk_widget_set_can_focus(buttons[Y * BUTTON_COLS + X], FALSE); \ - gtk_grid_attach(GTK_GRID(button_grid), \ - buttons[Y * BUTTON_COLS + X], X, Y, 1, 1); \ - } G_STMT_END #define CLICKED_CB(Y, X, CB) \ g_signal_connect(buttons[Y * BUTTON_COLS + X], "clicked", CB, tab_label) @@ -153,7 +141,6 @@ create_tab_popover(GtkWidget *widget, MqTabLabel *tab_label) #undef BUTTON_ROWS #undef BUTTON_COLS #undef NEW_BUTTON -#undef NEW_TOGGLE #undef CLICKED_CB static gboolean |