Closed Bug 347854 Opened 18 years ago Closed 17 years ago

UpdateTranslucentWindowAlphaInternal not defined in minimal profile

Categories

(Core :: Widget: Gtk, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9beta2

People

(Reporter: romaxa, Assigned: romaxa)

References

Details

Attachments

(1 file, 6 obsolete files)

Steps to Reproduce: 1. cvs -z3 -d :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot co mozilla/client.mk 2. make -f client.mk checkout mozconfig: ..................................... mk_add_options MOZ_CO_PROJECT=xulrunner ac_add_options --enable-application=xulrunner ac_add_options --disable-javaxpcom ac_add_options --disable-js-static-build ac_add_options --disable-tests ac_add_options --with-embedding-profile=minimal ..................................... 3. Apply patch from bug 347851 and Bug 330331 https://bugzilla.mozilla.org/attachment.cgi?id=232698 https://bugzilla.mozilla.org/attachment.cgi?id=232694 4. autoconf && ./configure && make Actual Results: Building accessible module failed with errors: ................................................................... romaxa@romaxa-sr:/home/romaxa/devel/realpc/xulrunner/mozilla_minimal/obj-minimal-i686-pc-linux-gnu/widget/src/gtk2$ make -s nsWindow.cpp /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp: In member function 'virtual nsresult nsWindow::Destroy()': /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp:408: warning: ISO C++ forbids casting between pointer-to-function and pointer-to-object /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp: In member function 'gboolean nsWindow::OnExposeEvent(GtkWidget*, GdkEventExpose*)': /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp:1648: error: 'UpdateTranslucentWindowAlphaInternal' was not declared in this scope /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp: At global scope: /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp:1428: warning: 'GdkModifierType gdk_keyboard_get_modifiers()' defined but not used /home/romaxa/devel/realpc/xulrunner/mozilla_minimal/widget/src/gtk2/nsWindow.cpp:1441: warning: 'void gdk_window_flash(GdkWindow*, unsigned int, unsigned int, GdkRegion*)' defined but not used make[1]: *** [nsWindow.o] Error 1 make: *** [all] Error 2 ................................................................... Expected Results: Building finished successefully
Attached patch BUILD_FIX (obsolete) (deleted) — Splinter Review
Attachment #232701 - Flags: first-review?
Attached patch UPDATED fix. (obsolete) (deleted) — Splinter Review
Attachment #232701 - Attachment is obsolete: true
Attachment #232720 - Flags: first-review?
Attachment #232701 - Flags: first-review?
Blocks: 347884
Attached patch UPDATED to trunk (obsolete) (deleted) — Splinter Review
Attachment #233093 - Flags: first-review?
Attachment #232720 - Attachment is obsolete: true
Attachment #232720 - Flags: first-review?
Attachment #233093 - Flags: first-review? → first-review?(timeless)
Status: NEW → ASSIGNED
Attached patch BUG fix, without cpp modify's (obsolete) (deleted) — Splinter Review
Attachment #233093 - Attachment is obsolete: true
Attachment #233561 - Flags: first-review?(timeless)
Attachment #233093 - Flags: first-review?(timeless)
Attached patch C99 fixes (obsolete) (deleted) — Splinter Review
Attachment #233561 - Attachment is obsolete: true
Attachment #233562 - Flags: first-review?(timeless)
Attachment #233561 - Flags: first-review?(timeless)
Status: ASSIGNED → NEW
Component: XULRunner → Widget: Gtk
Flags: first-review?(timeless)
Product: Toolkit → Core
QA Contact: xulrunner → gtk
Attachment #233562 - Flags: review?(roc)
(In reply to comment #6) > Why is this needed? > ??? Because building failed in embedding-profile=minimal configuration....
Is someone calling these when MOZ_XUL is not defined? Perhaps those callers should be fixed directly
Blocks: 340795
Blocks: 392134
Summary: Building XULRunner with --embedding-profile=minimal failed → UpdateTranslucentWindowAlphaInternal not defined in minimal profile
Comment on attachment 233562 [details] [diff] [review] C99 fixes Hmm, just found this old request. Update this to trunk though.
Attachment #233562 - Flags: superreview+
Attachment #233562 - Flags: review?(roc)
Attachment #233562 - Flags: review+
Assignee: nobody → romaxa
Attached patch unbitrotten patch (obsolete) (deleted) — Splinter Review
Attachment #233562 - Attachment is obsolete: true
Attachment #284779 - Flags: approval1.9?
Attached patch Some other kind of FIX. (deleted) — Splinter Review
I tried to remove that MOZ_XUL define at all, and it seems work fine.
Attachment #286130 - Flags: superreview?(roc)
Attachment #286130 - Flags: review?(roc)
Attachment #286130 - Flags: superreview?(roc)
Attachment #286130 - Flags: superreview+
Attachment #286130 - Flags: review?(roc)
Attachment #286130 - Flags: review+
Attachment #284779 - Attachment is obsolete: true
Attachment #284779 - Flags: approval1.9?
Attachment #286130 - Flags: approval1.9?
Keywords: checkin-needed
Keywords: checkin-needed
Attachment #286130 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
Checking in widget/src/gtk2/nsWindow.cpp; /cvsroot/mozilla/widget/src/gtk2/nsWindow.cpp,v <-- nsWindow.cpp new revision: 1.236; previous revision: 1.235 done Checking in widget/src/gtk2/nsWindow.h; /cvsroot/mozilla/widget/src/gtk2/nsWindow.h,v <-- nsWindow.h new revision: 1.79; previous revision: 1.78 done
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9 M10
No longer depends on: 403724
Depends on: 403724
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: