mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
Backed out changeset 45330fa58671 (bug 1343802)
This commit is contained in:
parent
34f0350a5c
commit
0dd66abf1e
@ -85,14 +85,6 @@ moz_gtk_init()
|
||||
else
|
||||
checkbox_check_state = GTK_STATE_FLAG_ACTIVE;
|
||||
|
||||
moz_gtk_refresh();
|
||||
|
||||
return MOZ_GTK_SUCCESS;
|
||||
}
|
||||
|
||||
void
|
||||
moz_gtk_refresh()
|
||||
{
|
||||
if (gtk_check_version(3, 12, 0) == nullptr &&
|
||||
gtk_check_version(3, 20, 0) != nullptr)
|
||||
{
|
||||
@ -106,8 +98,7 @@ moz_gtk_refresh()
|
||||
notebook_has_tab_gap = true;
|
||||
}
|
||||
|
||||
sScrollbarMetrics[GTK_ORIENTATION_HORIZONTAL].initialized = false;
|
||||
sScrollbarMetrics[GTK_ORIENTATION_VERTICAL].initialized = false;
|
||||
return MOZ_GTK_SUCCESS;
|
||||
}
|
||||
|
||||
gint
|
||||
|
@ -288,11 +288,6 @@ typedef enum {
|
||||
*/
|
||||
gint moz_gtk_init();
|
||||
|
||||
/**
|
||||
* Updates the drawing library when the theme changes.
|
||||
*/
|
||||
void moz_gtk_refresh();
|
||||
|
||||
/**
|
||||
* Perform cleanup of the drawing library. You should call this function
|
||||
* when your program exits, or you no longer need the library.
|
||||
|
@ -1445,7 +1445,6 @@ void
|
||||
nsLookAndFeel::RefreshImpl()
|
||||
{
|
||||
nsXPLookAndFeel::RefreshImpl();
|
||||
moz_gtk_refresh();
|
||||
|
||||
mDefaultFontCached = false;
|
||||
mButtonFontCached = false;
|
||||
|
Loading…
Reference in New Issue
Block a user