Closed Bug 305520 Opened 20 years ago Closed 20 years ago

GtkPromptService invalid warning on ConfirmEx with < 3 buttons

Categories

(Core Graveyard :: Embedding: GTK Widget, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chpe, Assigned: chpe)

Details

(Keywords: fixed1.8)

Attachments

(1 file)

Steps to reproduce: 0) run TestGtkEmbed 1) Go to http://foo@gnome.org/ Results: WARNING: Unexpected button flags, file /opt/source/mozilla/1.8-ff/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp, line 346 The 'unexpected' flag is 0. This happens when determining the label of the 3rd button, and flags is 0 because there are only 2. nsIPromptService.idl for ConfirmEx says "Puts up a dialog with up to 3 buttons and an optional, labeled checkbox.", so this is NOT unexpected. Simple fix coming up.
Attached patch fixSplinter Review
Assignee: mpgritti → chpe
Status: NEW → ASSIGNED
Attachment #193456 - Flags: review?(mpgritti)
Attachment #193456 - Flags: review?(mpgritti) → review+
Attachment #193456 - Flags: superreview?(roc)
Comment on attachment 193456 [details] [diff] [review] fix only affects Gtk embedding
Attachment #193456 - Flags: superreview?(roc)
Attachment #193456 - Flags: superreview+
Attachment #193456 - Flags: approval1.8b5?
Attachment #193456 - Flags: approval1.8b5? → approval1.8b5+
trunk: Checking in embedding/browser/gtk/src/GtkPromptService.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp,v <-- GtkPromptService.cpp new revision: 1.10; previous revision: 1.9 done MOZILLA_1_8_BRANCH: Checking in embedding/browser/gtk/src/GtkPromptService.cpp; /cvsroot/mozilla/embedding/browser/gtk/src/GtkPromptService.cpp,v <-- GtkPromptService.cpp new revision: 1.8.2.2; previous revision: 1.8.2.1 done
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Keywords: fixed1.8
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: