Backed out changeset 45330fa58671 (bug 1343802)

This commit is contained in:
Sebastian Hengst 2017-03-27 18:00:05 +02:00
parent 34f0350a5c
commit 0dd66abf1e
3 changed files with 1 additions and 16 deletions

View File

@ -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

View File

@ -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.

View File

@ -1445,7 +1445,6 @@ void
nsLookAndFeel::RefreshImpl()
{
nsXPLookAndFeel::RefreshImpl();
moz_gtk_refresh();
mDefaultFontCached = false;
mButtonFontCached = false;