Remove deprecated call to gtk_widget_override_background_color (#299)
This was an override that no longer seems necessary and is causing deprecation warnings.
This commit is contained in:
parent
116bfc2ac1
commit
2520d1c087
|
@ -524,7 +524,6 @@ xed_view_frame_init (XedViewFrame *frame)
|
||||||
{
|
{
|
||||||
XedDocument *doc;
|
XedDocument *doc;
|
||||||
GtkSourceFile *file;
|
GtkSourceFile *file;
|
||||||
GdkRGBA transparent = {0, 0, 0, 0};
|
|
||||||
PangoFontDescription *font_desc;
|
PangoFontDescription *font_desc;
|
||||||
|
|
||||||
frame->priv = xed_view_frame_get_instance_private (frame);
|
frame->priv = xed_view_frame_get_instance_private (frame);
|
||||||
|
@ -542,8 +541,6 @@ xed_view_frame_init (XedViewFrame *frame)
|
||||||
g_object_set (frame->priv->map, "font-desc", font_desc, NULL);
|
g_object_set (frame->priv->map, "font-desc", font_desc, NULL);
|
||||||
pango_font_description_free (font_desc);
|
pango_font_description_free (font_desc);
|
||||||
|
|
||||||
gtk_widget_override_background_color (GTK_WIDGET (frame), 0, &transparent);
|
|
||||||
|
|
||||||
doc = xed_view_frame_get_document (frame);
|
doc = xed_view_frame_get_document (frame);
|
||||||
file = xed_document_get_file (doc);
|
file = xed_document_get_file (doc);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue