File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -1230,17 +1230,6 @@ eel_editable_label_style_updated (GtkWidget *widget)
1230
1230
1231
1231
/* We have to clear the layout, fonts etc. may have changed */
1232
1232
eel_editable_label_recompute (label );
1233
-
1234
- /* Set the background, foreground and cursor colors based on
1235
- * the new theme selected.
1236
- */
1237
- if (gtk_widget_get_realized (widget ))
1238
- {
1239
- GtkStyleContext * style ;
1240
-
1241
- style = gtk_widget_get_style_context (widget );
1242
- gtk_style_context_set_background (style , gtk_widget_get_window (widget ));
1243
- }
1244
1233
}
1245
1234
1246
1235
static void
@@ -1667,7 +1656,6 @@ eel_editable_label_realize (GtkWidget *widget)
1667
1656
gint attributes_mask ;
1668
1657
GtkAllocation allocation ;
1669
1658
GdkWindow * window ;
1670
- GtkStyleContext * style ;
1671
1659
1672
1660
gtk_widget_set_realized (widget , TRUE);
1673
1661
label = EEL_EDITABLE_LABEL (widget );
@@ -1702,9 +1690,6 @@ eel_editable_label_realize (GtkWidget *widget)
1702
1690
1703
1691
g_object_unref (attributes .cursor );
1704
1692
1705
- style = gtk_widget_get_style_context (widget );
1706
- gtk_style_context_set_background (style , gtk_widget_get_window (widget ));
1707
-
1708
1693
gtk_im_context_set_client_window (label -> im_context , gtk_widget_get_window (widget ));
1709
1694
}
1710
1695
You can’t perform that action at this time.
0 commit comments