зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1188138 - Prevent default buttons from being drawn twice on GTK3. r=karlt
This commit is contained in:
Родитель
caa85e1906
Коммит
c14fa3aed4
|
@ -901,9 +901,7 @@ moz_gtk_button_paint(cairo_t *cr, GdkRectangle* rect,
|
|||
y += default_top;
|
||||
width -= (default_left + default_right);
|
||||
height -= (default_top + default_bottom);
|
||||
}
|
||||
|
||||
if (relief != GTK_RELIEF_NONE || state->depressed ||
|
||||
} else if (relief != GTK_RELIEF_NONE || state->depressed ||
|
||||
(state_flags & GTK_STATE_FLAG_PRELIGHT)) {
|
||||
/* the following line can trigger an assertion (Crux theme)
|
||||
file ../../gdk/gdkwindow.c: line 1846 (gdk_window_clear_area):
|
||||
|
|
Загрузка…
Ссылка в новой задаче