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)
12301230
12311231 /* We have to clear the layout, fonts etc. may have changed */
12321232 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- }
12441233}
12451234
12461235static void
@@ -1667,7 +1656,6 @@ eel_editable_label_realize (GtkWidget *widget)
16671656 gint attributes_mask ;
16681657 GtkAllocation allocation ;
16691658 GdkWindow * window ;
1670- GtkStyleContext * style ;
16711659
16721660 gtk_widget_set_realized (widget , TRUE);
16731661 label = EEL_EDITABLE_LABEL (widget );
@@ -1702,9 +1690,6 @@ eel_editable_label_realize (GtkWidget *widget)
17021690
17031691 g_object_unref (attributes .cursor );
17041692
1705- style = gtk_widget_get_style_context (widget );
1706- gtk_style_context_set_background (style , gtk_widget_get_window (widget ));
1707-
17081693 gtk_im_context_set_client_window (label -> im_context , gtk_widget_get_window (widget ));
17091694}
17101695
You can’t perform that action at this time.
0 commit comments