diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/mozilla/Makefile.am | 2 | ||||
-rw-r--r-- | embed/mozilla/mozilla-embed-single.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/embed/mozilla/Makefile.am b/embed/mozilla/Makefile.am index 5658c8571..f7285d45e 100644 --- a/embed/mozilla/Makefile.am +++ b/embed/mozilla/Makefile.am @@ -144,7 +144,7 @@ libephymozillaembed_la_CPPFLAGS = \ -DPLUGINDIR=\"$(libdir)/epiphany/$(EPIPHANY_MAJOR)/plugins\" \ -DMOZILLA_HOME=\"$(MOZILLA_HOME)\" \ -DMOZILLA_PREFIX=\"$(MOZILLA_PREFIX)\" \ - -DEPIPHANY_MAJOR=\"$(EPIPHANY_MAJOR)\" \ + -DUA_VERSION=\"$(EPIPHANY_UA_VERSION)\" \ -DALLOW_PRIVATE_API \ $(AM_CPPFLAGS) diff --git a/embed/mozilla/mozilla-embed-single.cpp b/embed/mozilla/mozilla-embed-single.cpp index ba0f93115..1269075d3 100644 --- a/embed/mozilla/mozilla-embed-single.cpp +++ b/embed/mozilla/mozilla-embed-single.cpp @@ -296,14 +296,14 @@ mozilla_set_default_prefs (MozillaEmbedSingle *mes) } #ifdef HAVE_GECKO_1_8 - pref->SetCharPref ("general.useragent.extra.epiphany", "Epiphany/" EPIPHANY_MAJOR); + pref->SetCharPref ("general.useragent.extra.epiphany", "Epiphany/" UA_VERSION); /* Unset old prefs, otherwise they end up in the user agent string too */ pref->ClearUserPref ("general.useragent.vendor"); pref->ClearUserPref ("general.useragent.vendorSub"); #else pref->SetCharPref ("general.useragent.vendor", "Epiphany"); - pref->SetCharPref ("general.useragent.vendorSub", EPIPHANY_MAJOR); + pref->SetCharPref ("general.useragent.vendorSub", UA_VERSION); #endif /* Don't open ftp uris with an external handler if one is setup */ |