mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
c36d8f3cb3
2006-05-04 Alexander Larsson <alexl@redhat.com> * gtk/gtk.symbols: Added new symbols * gtk/gtkpagesetupunixdialog.c: * gtk/gtkprintunixdialog.c: Destroy backends when finalizing dialogs. Fix printer leak in selected_printer_changed. * gtk/gtkprintbackend.[ch]: Convert from interface to baseclass. Move printer hashtable here so that the baseclass can handle the slightly complicated ownership model. Add gtk_print_backend_destroy which runs the dispose method, causing the ref-cycles between the backend and its printers to be broken. Add gtk_print_backend_unref_at_idle(). * gtk/gtkprinter.[ch]: GtkPrinter objects now ref their backend so that its always availible, since its needed for the printer object to work. This causes a reference-cycle that is broken using gtk_print_backend_destroy. Add gtk_printer_compare. * gtk/gtkprintoperation-private.h: * gtk/gtkprintoperation-unix.c: * gtk/gtkprintoperation.c: Implement !show_dialog for unix. Make sure the print data is fully spooled before returning from a sync run_dialog. * modules/printbackends/cups/gtkcupsutils.[ch]: Add gtk_cups_request_ipp_add_strings * modules/printbackends/cups/gtkprintbackendcups.c: * modules/printbackends/cups/gtkprintercups.c: * modules/printbackends/lpr/gtkprintbackendlpr.c: * modules/printbackends/pdf/gtkprintbackendpdf.c: Convert backends to derive instead of implementing interface. Move common code into baseclass. CUPS: Remove the printer polling in dispose, not finalize. In the cups watch, remove the backend at idle instead of immediately, since the unref can cause the module to be unloaded. Limit the number of printer attributes requested Get printer uri in initial printer listing so that we can use the printer object immediately. * tests/Makefile.am: * tests/testnouiprint.c: Add testcase for !show_dialog.
280 lines
6.7 KiB
Makefile
280 lines
6.7 KiB
Makefile
## Makefile.am for gtk+/tests
|
|
|
|
INCLUDES = \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-I$(top_srcdir)/gdk \
|
|
-DGDK_PIXBUF_DISABLE_DEPRECATED \
|
|
-DGDK_DISABLE_DEPRECATED \
|
|
-DGTK_DISABLE_DEPRECATED \
|
|
$(GTK_DEBUG_FLAGS) \
|
|
$(GTK_DEP_CFLAGS)
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
LDADDS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la \
|
|
$(top_builddir)/gdk/$(gdktargetlib) \
|
|
$(top_builddir)/gtk/$(gtktargetlib)
|
|
|
|
if USE_X11
|
|
testsocket_programs = testsocket testsocket_child
|
|
endif
|
|
|
|
TESTS = floatingtest
|
|
|
|
noinst_PROGRAMS = \
|
|
autotestfilechooser \
|
|
floatingtest \
|
|
simple \
|
|
print-editor \
|
|
testaccel \
|
|
testassistant \
|
|
testcairo \
|
|
testcalendar \
|
|
testcombo \
|
|
testcombochange \
|
|
testcellrenderertext \
|
|
testdnd \
|
|
testellipsise \
|
|
testentrycompletion \
|
|
testfilechooser \
|
|
testfilechooserbutton \
|
|
testgtk \
|
|
testiconview \
|
|
testicontheme \
|
|
testimage \
|
|
testinput \
|
|
testmenus \
|
|
testmenubars \
|
|
testmultidisplay \
|
|
testmultiscreen \
|
|
testnotebookdnd \
|
|
testnouiprint \
|
|
testrgb \
|
|
testrecentchooser \
|
|
testselection \
|
|
$(testsocket_programs) \
|
|
testspinbutton \
|
|
teststatusicon \
|
|
testtext \
|
|
testtextbuffer \
|
|
testtoolbar \
|
|
stresstest-toolbar \
|
|
testtreeedit \
|
|
testtreemodel \
|
|
testtreeview \
|
|
testtreefocus \
|
|
testtreeflow \
|
|
testtreecolumns \
|
|
testtreesort \
|
|
treestoretest \
|
|
testxinerama \
|
|
pixbuf-read \
|
|
pixbuf-lowmem \
|
|
pixbuf-randomly-modified \
|
|
pixbuf-random \
|
|
pixbuf-threads \
|
|
testmerge \
|
|
testactions \
|
|
testgrouping
|
|
|
|
autotestfilechooser_DEPENDENCIES = $(TEST_DEPS)
|
|
simple_DEPENDENCIES = $(TEST_DEPS)
|
|
floatingtest_DEPENDENCIES = $(TEST_DEPS)
|
|
print_editor_DEPENDENCIES = $(TEST_DEPS)
|
|
testicontheme_DEPENDENCIES = $(TEST_DEPS)
|
|
testiconview_DEPENDENCIES = $(TEST_DEPS)
|
|
testaccel_DEPENDENCIES = $(TEST_DEPS)
|
|
testassistant_DEPENDENCIES = $(TEST_DEPS)
|
|
testcairo_DEPENDENCIES = $(TEST_DEPS)
|
|
testcalendar_DEPENDENCIES = $(TEST_DEPS)
|
|
testcombo_DEPENDENCIES = $(TEST_DEPS)
|
|
testcombochange_DEPENDENCIES = $(TEST_DEPS)
|
|
testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
|
|
testdnd_DEPENDENCIES = $(TEST_DEPS)
|
|
testellipsise_DEPENDENCIES = $(TEST_DEPS)
|
|
testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
|
|
testfilechooser_DEPENDENCIES = $(TEST_DEPS)
|
|
testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
|
|
testgtk_DEPENDENCIES = $(TEST_DEPS)
|
|
testinput_DEPENDENCIES = $(TEST_DEPS)
|
|
testimage_DEPENDENCIES = $(TEST_DEPS)
|
|
testmenus_DEPENDENCIES = $(TEST_DEPS)
|
|
testmenubars_DEPENDENCIES = $(TEST_DEPS)
|
|
testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
|
|
testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
|
|
testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
|
|
testnouiprint_DEPENDENCIES = $(TEST_DEPS)
|
|
testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
|
|
testrgb_DEPENDENCIES = $(TEST_DEPS)
|
|
testselection_DEPENDENCIES = $(TEST_DEPS)
|
|
testsocket_DEPENDENCIES = $(DEPS)
|
|
testsocket_child_DEPENDENCIES = $(DEPS)
|
|
testspinbutton_DEPENDENCIES = $(TEST_DEPS)
|
|
teststatusicon_DEPENDENCIES = $(TEST_DEPS)
|
|
testtext_DEPENDENCIES = $(TEST_DEPS)
|
|
testtextbuffer_DEPENDENCIES = $(TEST_DEPS)
|
|
testtreeedit_DEPENDENCIES = $(DEPS)
|
|
testtreemodel_DEPENDENCIES = $(DEPS)
|
|
testtreeview_DEPENDENCIES = $(DEPS)
|
|
testtreefocus_DEPENDENCIES = $(DEPS)
|
|
testtreeflow_DEPENDENCIES = $(DEPS)
|
|
testtreecolumns_DEPENDENCIES = $(DEPS)
|
|
testtreesort_DEPENDENCIES = $(DEPS)
|
|
treestoretest_DEPENDENCIES = $(TEST_DEPS)
|
|
testxinerama_DEPENDENCIES = $(TEST_DEPS)
|
|
testmerge_DEPENDENCIES = $(TEST_DEPS)
|
|
testactions_DEPENDENCIES = $(TEST_DEPS)
|
|
testgrouping_DEPENDENCIES = $(TEST_DEPS)
|
|
|
|
autotestfilechooser_LDADD = $(LDADDS)
|
|
simple_LDADD = $(LDADDS)
|
|
floatingtest_LDADD = $(LDADDS)
|
|
print_editor_LDADD = $(LDADDS)
|
|
testaccel_LDADD = $(LDADDS)
|
|
testassistant_LDADD = $(LDADDS)
|
|
testcairo_LDADD = $(LDADDS)
|
|
testcalendar_LDADD = $(LDADDS)
|
|
testcombo_LDADD = $(LDADDS)
|
|
testcombochange_LDADD = $(LDADDS)
|
|
testcellrenderertext_LDADD = $(LDADDS)
|
|
testdnd_LDADD = $(LDADDS)
|
|
testellipsise_LDADD = $(LDADDS)
|
|
testentrycompletion_LDADD = $(LDADDS)
|
|
testfilechooser_LDADD = $(LDADDS)
|
|
testfilechooserbutton_LDADD = $(LDADDS)
|
|
testgtk_LDADD = $(LDADDS)
|
|
testicontheme_LDADD = $(LDADDS)
|
|
testiconview_LDADD = $(LDADDS)
|
|
testinput_LDADD = $(LDADDS)
|
|
testimage_LDADD = $(LDADDS)
|
|
testmenus_LDADD = $(LDADDS)
|
|
testmenubars_LDADD = $(LDADDS)
|
|
testmultidisplay_LDADD = $(LDADDS)
|
|
testmultiscreen_LDADD = $(LDADDS)
|
|
testnotebookdnd_LDADD = $(LDADDS)
|
|
testnouiprint_LDADD = $(LDADDS)
|
|
testrecentchooser_LDADD = $(LDADDS)
|
|
testrgb_LDADD = $(LDADDS)
|
|
testselection_LDADD = $(LDADDS)
|
|
testsocket_LDADD = $(LDADDS)
|
|
testsocket_child_LDADD = $(LDADDS)
|
|
testspinbutton_LDADD = $(LDADDS)
|
|
teststatusicon_LDADD = $(LDADDS)
|
|
testtextbuffer_LDADD = $(LDADDS)
|
|
testtoolbar_LDADD = $(LDADDS)
|
|
stresstest_toolbar_LDADD = $(LDADDS)
|
|
testtreeedit_LDADD = $(LDADDS)
|
|
testtreemodel_LDADD = $(LDADDS)
|
|
testtreeview_LDADD = $(LDADDS)
|
|
testtreefocus_LDADD = $(LDADDS)
|
|
testtreeflow_LDADD = $(LDADDS)
|
|
testtreecolumns_LDADD = $(LDADDS)
|
|
testtreesort_LDADD = $(LDADDS)
|
|
testtext_LDADD = $(LDADDS)
|
|
treestoretest_LDADD = $(LDADDS)
|
|
testxinerama_LDADD = $(LDADDS)
|
|
pixbuf_read_LDADD = $(LDADDS)
|
|
pixbuf_lowmem_LDADD = $(LDADDS)
|
|
pixbuf_randomly_modified_LDADD = $(LDADDS)
|
|
pixbuf_random_LDADD = $(LDADDS)
|
|
pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
|
|
testmerge_LDADD = $(LDADDS)
|
|
testactions_LDADD = $(LDADDS)
|
|
testgrouping_LDADD = $(LDADDS)
|
|
|
|
autotestfilechooser_SOURCES = \
|
|
autotestfilechooser.c
|
|
|
|
testentrycompletion_SOURCES = \
|
|
prop-editor.c \
|
|
testentrycompletion.c
|
|
|
|
testfilechooser_SOURCES = \
|
|
prop-editor.c \
|
|
testfilechooser.c
|
|
|
|
testfilechooserbutton_SOURCES = \
|
|
prop-editor.c \
|
|
testfilechooserbutton.c
|
|
|
|
testgtk_SOURCES = \
|
|
prop-editor.c \
|
|
testgtk.c
|
|
|
|
testtreeedit_SOURCES = \
|
|
testtreeedit.c
|
|
|
|
testtreemodel_SOURCES = \
|
|
testtreemodel.c
|
|
|
|
testtreeview_SOURCES = \
|
|
prop-editor.c \
|
|
testtreeview.c
|
|
|
|
testtext_SOURCES = \
|
|
prop-editor.c \
|
|
testtext.c
|
|
|
|
testtoolbar_SOURCES = \
|
|
testtoolbar.c \
|
|
prop-editor.c
|
|
|
|
testsocket_SOURCES = \
|
|
testsocket.c \
|
|
testsocket_common.c
|
|
|
|
testsocket_child_SOURCES = \
|
|
testsocket_child.c \
|
|
testsocket_common.c
|
|
|
|
testspinbutton_SOURCES = \
|
|
testspinbutton.c
|
|
|
|
teststatusicon_SOURCES = \
|
|
teststatusicon.c
|
|
|
|
testmerge_SOURCES = \
|
|
testmerge.c
|
|
|
|
testactions_SOURCES = \
|
|
testactions.c
|
|
|
|
testiconview_SOURCES = \
|
|
testiconview.c \
|
|
prop-editor.c
|
|
|
|
testrecentchooser_SOURCES = \
|
|
prop-editor.c \
|
|
testrecentchooser.c
|
|
|
|
testgrouping_SOURCES = \
|
|
testgrouping.c
|
|
|
|
EXTRA_DIST = \
|
|
prop-editor.h \
|
|
testgtk.1 \
|
|
testgtkrc \
|
|
testgtkrc2 \
|
|
circles.xbm \
|
|
3DRings.xpm \
|
|
FilesQueue.xpm \
|
|
Modeller.xpm \
|
|
check-y.xpm \
|
|
check-n.xpm \
|
|
marble.xpm \
|
|
test.xpm \
|
|
check-y.xpm \
|
|
check-n.xpm \
|
|
test.xpm \
|
|
merge-1.ui \
|
|
merge-2.ui \
|
|
merge-3.ui \
|
|
gnome-textfile.png \
|
|
makefile.msc
|
|
|