mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 00:30:08 +00:00
f409cd9b7f
Mon Jul 2 16:53:25 2001 Owen Taylor <otaylor@redhat.com> * gtk/xembed.h gtk/gtkplug.c gtk/gtksocket.c: For XEMBED embedding add a _XEMBED_INFO property to the client with version number and a "mapped" flags. Use the mapped flag instead of the racy MapRequestEvent * gtk/gtksocket.c: Clean up the gtk_socket_steal() code to reliably set things (when the child is a passive embedder participating in the XEMBED protocol) intead of just being a hack for embedding non-participating programs. Fix various bugs and race conditions. * gtk/gtksocket.[ch] gtk/gtkplug.[ch]: Make local embedding work by simply making the GtkSocket the gtk parent of the GtkPlug. Set a flag in this case and make the GtkPlug work like a normal container by overriding methods such as check_resize and "chaining past" GtkWindow to GtkBin. * gtk/gtkentry.c (gtk_entry_real_activate) gtk/gtkmain.c (gtk_propagate_event): Eliminate use of gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW). * gtk/gtkwidget.c (gtk_widget_get_toplevel, gtk_widget_get_ancestor): Explain why gtk_widget_get_ancestor (widget, GTK_TYPE_WINDOW) might not give the expected result and recommend an alternative. * tests/testsocket.c tests/testsocket_child.c tests/testsocket_common.c tests/Makefile.am: Extended to test different type of adding plugs to sockets (local,active,passive), and to test mapping/unmapping the plug. * gdk/gdkwindow.c (_gdk_window_destroy_hierarchy): Don't mark the window as destroyed until after we called _gdk_windowing_window_destroy(). (_gdk_windowing_window_destroy() may use GDK functions on the window.) * gdk/x11/gdkinput.c: Remove the check for finalization - devices can be finalized under some circumnstances. * gdk/x11/gdkinput-x11.c (gdk_input_device_new): Fix small problem with GDK_TYPE_DEVICE.
117 lines
2.5 KiB
Makefile
117 lines
2.5 KiB
Makefile
## Makefile.am for gtk+/tests
|
|
|
|
INCLUDES = @STRIP_BEGIN@ \
|
|
-I$(top_srcdir) \
|
|
-I$(top_builddir)/gdk \
|
|
-I$(top_srcdir)/gdk \
|
|
-DGTK_DISABLE_COMPAT_H \
|
|
@GTK_DEBUG_FLAGS@ \
|
|
@GTK_DEP_CFLAGS@ \
|
|
@STRIP_END@
|
|
|
|
DEPS = \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
$(top_builddir)/gtk/@gtktargetlib@
|
|
|
|
LDADDS = @STRIP_BEGIN@ \
|
|
$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la \
|
|
$(top_builddir)/gdk/@gdktargetlib@ \
|
|
$(top_builddir)/gtk/@gtktargetlib@ \
|
|
@STRIP_END@
|
|
|
|
if USE_X11
|
|
testsocket_programs = testsocket testsocket_child
|
|
endif
|
|
|
|
|
|
noinst_PROGRAMS = \
|
|
simple \
|
|
testcalendar \
|
|
testdnd \
|
|
testgtk \
|
|
testinput \
|
|
testrgb \
|
|
testselection \
|
|
$(testsocket_programs) \
|
|
testtext \
|
|
testtextbuffer \
|
|
testtreeview \
|
|
testtreefocus \
|
|
testtreecolumns \
|
|
testtreesort \
|
|
treestoretest
|
|
|
|
simple_DEPENDENCIES = $(TEST_DEPS)
|
|
testcalendar_DEPENDENCIES = $(TEST_DEPS)
|
|
testdnd_DEPENDENCIES = $(TEST_DEPS)
|
|
testgtk_DEPENDENCIES = $(TEST_DEPS)
|
|
testinput_DEPENDENCIES = $(TEST_DEPS)
|
|
testrgb_DEPENDENCIES = $(TEST_DEPS)
|
|
testselection_DEPENDENCIES = $(TEST_DEPS)
|
|
testsocket_DEPENDENCIES = $(DEPS)
|
|
testsocket_child_DEPENDENCIES = $(DEPS)
|
|
testtext_DEPENDENCIES = $(TEST_DEPS)
|
|
testtextbuffer_DEPENDENCIES = $(TEST_DEPS)
|
|
testtreeview_DEPENDENCIES = $(DEPS)
|
|
testtreefocus_DEPENDENCIES = $(DEPS)
|
|
testtreecolumns_DEPENDENCIES = $(DEPS)
|
|
testtreesort_DEPENDENCIES = $(DEPS)
|
|
treestoretest_DEPENDENCIES = $(TEST_DEPS)
|
|
|
|
simple_LDADD = $(LDADDS)
|
|
testcalendar_LDADD = $(LDADDS)
|
|
testdnd_LDADD = $(LDADDS)
|
|
testgtk_LDADD = $(LDADDS)
|
|
testinput_LDADD = $(LDADDS)
|
|
testrgb_LDADD = $(LDADDS)
|
|
testselection_LDADD = $(LDADDS)
|
|
testsocket_LDADD = $(LDADDS)
|
|
testsocket_child_LDADD = $(LDADDS)
|
|
testtextbuffer_LDADD = $(LDADDS)
|
|
testtreeview_LDADD = $(LDADDS)
|
|
testtreefocus_LDADD = $(LDADDS)
|
|
testtreecolumns_LDADD = $(LDADDS)
|
|
testtreesort_LDADD = $(LDADDS)
|
|
testtext_LDADD = $(LDADDS)
|
|
treestoretest_LDADD = $(LDADDS)
|
|
|
|
testgtk_SOURCES = \
|
|
testgtk.c
|
|
|
|
testtreeview_SOURCES = \
|
|
prop-editor.c \
|
|
testtreeview.c
|
|
|
|
testtext_SOURCES = \
|
|
prop-editor.c \
|
|
testtext.c
|
|
|
|
testsocket_SOURCES = \
|
|
testsocket.c \
|
|
testsocket_common.c
|
|
|
|
testsocket_child_SOURCES = \
|
|
testsocket_child.c \
|
|
testsocket_common.c
|
|
|
|
EXTRA_DIST += @STRIP_BEGIN@ \
|
|
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 \
|
|
@STRIP_END@
|
|
|
|
|