Closed Bug 275463 Opened 20 years ago Closed 19 years ago

embedding/browser/gtk should not use deprecated nsIPref

Categories

(Core Graveyard :: Embedding: APIs, defect, P2)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: Biesinger, Assigned: Biesinger)

References

Details

Attachments

(1 file, 1 obsolete file)

there's an unused sPrefs member; it can be easily removed.
Attached patch patch (obsolete) — Splinter Review
Attachment #169250 - Flags: review?(marco)
Blocks: 175193
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8alpha6
Comment on attachment 169250 [details] [diff] [review]
patch

Looks like you can remove REQUIRES=pref from the Makefile too?

The patch looks good. Though I dont know why sPrefs was there in first place, I
cant remember gtkmozembed using any pref in the past.

I wonder if maybe it was there to ensure the service was initialized... I
tested both TestGtkEmbed and epiphany with the patch though, without noticing
any initialization problems. So this looks safe to check in to. May be a good
idea to pick Blizzard as super reviewer though... he may remember.
Attachment #169250 - Flags: review?(marco) → review+
Attached patch patch v2Splinter Review
yep, looks like I can remove prefs from REQUIRES.
Attachment #169250 - Attachment is obsolete: true
Attachment #169306 - Flags: superreview?(blizzard)
Priority: -- → P2
Attachment #169306 - Flags: superreview?(blizzard) → superreview?(roc)
Target Milestone: mozilla1.8alpha6 → mozilla1.9alpha
Comment on attachment 169306 [details] [diff] [review]
patch v2

carrying forward marco's r+
Attachment #169306 - Flags: superreview?(roc)
Attachment #169306 - Flags: superreview+
Attachment #169306 - Flags: review+
Checking in src/EmbedPrivate.cpp;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrivate.cpp,v  <--  EmbedPrivate.cpp
new revision: 1.55; previous revision: 1.54
done
Checking in src/EmbedPrivate.h;
/cvsroot/mozilla/embedding/browser/gtk/src/EmbedPrivate.h,v  <-- 
EmbedPrivate.hnew revision: 1.27; previous revision: 1.26
done
Checking in src/Makefile.in;
/cvsroot/mozilla/embedding/browser/gtk/src/Makefile.in,v  <--  Makefile.in
new revision: 1.56; previous revision: 1.55
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: