зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt
This commit is contained in:
Родитель
69e26539a4
Коммит
482e0ca788
|
@ -546,6 +546,7 @@ STUB(gtk_tree_view_column_get_button)
|
|||
STUB(gtk_widget_get_preferred_size)
|
||||
STUB(gtk_widget_get_style_context)
|
||||
STUB(gtk_widget_path_append_type)
|
||||
STUB(gtk_widget_path_free)
|
||||
STUB(gtk_widget_path_new)
|
||||
STUB(gtk_widget_set_visual)
|
||||
STUB(gtk_app_chooser_dialog_new_for_content_type)
|
||||
|
|
|
@ -1187,6 +1187,8 @@ nsLookAndFeel::Init()
|
|||
style = gtk_widget_get_style_context(frame);
|
||||
gtk_style_context_get_border_color(style, GTK_STATE_FLAG_NORMAL, &color);
|
||||
sFrameInnerDarkBorder = sFrameOuterLightBorder = GDK_RGBA_TO_NS_RGBA(color);
|
||||
|
||||
gtk_widget_path_free(path);
|
||||
#endif
|
||||
// Some themes have a unified menu bar, and support window dragging on it
|
||||
gboolean supports_menubar_drag = FALSE;
|
||||
|
|
Загрузка…
Ссылка в новой задаче