[glade] Tests: re enable commented test in Add Child



commit a6f88f7441a70d3762c7d84e4966acaebd9f0945
Author: Juan Pablo Ugarte <juanpablougarte gmail com>
Date:   Sat Aug 1 14:42:23 2020 -0300

    Tests: re enable commented test in Add Child
    
    Enable GTK_TYPE_FILE_CHOOSER_BUTTON, GTK_TYPE_RECENT_CHOOSER,
    GTK_TYPE_DIALOG and GTK_TYPE_ASSISTANT tests.

 tests/create-widgets.c | 8 --------
 1 file changed, 8 deletions(-)
---
diff --git a/tests/create-widgets.c b/tests/create-widgets.c
index deec134f6..2094059dd 100644
--- a/tests/create-widgets.c
+++ b/tests/create-widgets.c
@@ -104,16 +104,8 @@ main (int   argc,
       adaptor_type = glade_widget_adaptor_get_object_type (adaptor);
 
       if (G_TYPE_IS_INSTANTIATABLE (adaptor_type) && !G_TYPE_IS_ABSTRACT (adaptor_type) &&
-          /* FIXME: FileChooserButton leaks a GTask which will crash in the following test */
-          adaptor_type != GTK_TYPE_FILE_CHOOSER_BUTTON &&
-          /* FIXME: GtkRecentChooser tries to remove an unknown source id */
-          !g_type_is_a (adaptor_type, GTK_TYPE_RECENT_CHOOSER) &&
           /* FIXME: can not create a themed icon without a name */
           !g_type_is_a (adaptor_type, G_TYPE_THEMED_ICON) &&
-          /* FIXME: Dialogs now use a headerbar by default making gtk give a warning when adding a widget to 
the action area */
-          !g_type_is_a (adaptor_type, GTK_TYPE_DIALOG) &&
-          /* FIXME: The same goes for assistant */
-          !g_type_is_a (adaptor_type, GTK_TYPE_ASSISTANT) &&
           /* FIXME: GtkPopoverMenu gives a few warnings */
           !g_type_is_a (adaptor_type, GTK_TYPE_POPOVER_MENU) &&
           /* FIXME: GtkFileChooserNative is hard to test here */


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]