[hafqa] [hafqa] [Bug 861] New: HildonBanner methods should take GtkWindow instead of GtkWidget

From: bugzilla-daemon at maemo.org bugzilla-daemon at maemo.org
Date: Sun Nov 19 17:35:59 EET 2006
https://maemo.org/bugzilla/show_bug.cgi?id=861

           Summary: HildonBanner methods should take GtkWindow instead of
                    GtkWidget
           Product: haf
           Version: sardine
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: hildon-libs
        AssignedTo: michael.kostrzewa at nokia.com
        ReportedBy: murrayc at murrayc.com
         QAContact: hafqa at maemo.org


Functions such as 
hildon_banner_show_information_with_markup()
take a GtkWidget* parameter, which must always be a GtkWindow*, because 
hildon_banner_get_instance_for_widget() requires that the widget is a GtkWindow,
via gtk_widget_get_ancestor(widget, GTK_TYPE_WINDOW).

The API would be clearer, and the compiler could check for at compile time, if
the parameter was a GtkWindow*.

-- 
Configure bugmail: https://maemo.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the hafqa mailing list