From d0ddaedffa7d417a699cafce73c1e418515c4a28 Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 21 Nov 2016 21:14:26 +0300 Subject: move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option and require libmate-desktop >= 1.17 WARNING: use GTK+3 build of libmateweather for this build. that lib is not migrated to GTK+3 only as we will possibly use libgweather instead of it. --- mate-panel/panel-action-button.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'mate-panel/panel-action-button.c') diff --git a/mate-panel/panel-action-button.c b/mate-panel/panel-action-button.c index 67be0f78..27f1c7bf 100644 --- a/mate-panel/panel-action-button.c +++ b/mate-panel/panel-action-button.c @@ -694,11 +694,7 @@ panel_action_button_connect_to_gsettings (PanelActionButton *button) } static void -#if GTK_CHECK_VERSION (3, 0, 0) panel_action_button_style_updated (PanelActionButton *button) -#else -panel_action_button_style_set (PanelActionButton *button) -#endif { if (actions [button->priv->type].icon_name != NULL) button_widget_set_icon_name (BUTTON_WIDGET (button), actions [button->priv->type].icon_name); @@ -742,13 +738,8 @@ panel_action_button_load (PanelActionButtonType type, panel_action_button_connect_to_gsettings (button); -#if GTK_CHECK_VERSION (3, 0, 0) g_signal_connect (button, "style-updated", G_CALLBACK (panel_action_button_style_updated), NULL); -#else - g_signal_connect (button, "style-set", - G_CALLBACK (panel_action_button_style_set), NULL); -#endif } void -- cgit v1.2.1