From 561c94e71a685741e65db33b8f77c7da382022c3 Mon Sep 17 00:00:00 2001 From: JosephMcc Date: Mon, 4 Dec 2017 01:03:23 -0800 Subject: [PATCH] xed-status-combo-box: Remove some deprecated css functionality This stuff is deprecated and just spams warnings so clean it up. --- xed/xed-status-combo-box.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/xed/xed-status-combo-box.c b/xed/xed-status-combo-box.c index 9d45981..ea195cc 100644 --- a/xed/xed-status-combo-box.c +++ b/xed/xed-status-combo-box.c @@ -141,18 +141,14 @@ xed_status_combo_box_changed (XedStatusComboBox *combo, static void xed_status_combo_box_class_init (XedStatusComboBoxClass *klass) { - GObjectClass *object_class = G_OBJECT_CLASS (klass); - GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); static const gchar style[] = "* {\n" - "-GtkButton-default-border : 0;\n" - "-GtkButton-default-outside-border : 0;\n" - "-GtkButton-inner-border: 0;\n" - "-GtkWidget-focus-line-width : 0;\n" - "-GtkWidget-focus-padding : 0;\n" "padding: 2px;\n" "}"; + GObjectClass *object_class = G_OBJECT_CLASS (klass); + GtkWidgetClass *widget_class = GTK_WIDGET_CLASS (klass); + object_class->finalize = xed_status_combo_box_finalize; object_class->get_property = xed_status_combo_box_get_property; object_class->set_property = xed_status_combo_box_set_property;