Commit Graph

11 Commits

Author SHA1 Message Date
Benjamin Otte
cf51750bf4 API: x11: gdk_drawable_get_xid => gdk_window_get_xid
Also moves the function implementations to gtkwindow-x11.c.
2010-12-02 20:17:27 +01:00
Benjamin Otte
872ef111ec gdk: Make gdk_pixbuf_get_from_*() bindable
The ownership of the return value for gdk_pixbuf_get_from_window() and
gdk_pixbuf_get_from_surface() was determined by the first argument.

Because that is an ugly design and the functions are new to GTK3, we
decided to adapt them.
And that adaptation was quite easy since almost no one passses anything
but NULL as the first argument.
2010-10-02 03:08:24 +02:00
Benjamin Otte
9403e167b4 docs: Get rid of gdk_drawable_get_size() usage in shooter example 2010-09-26 15:11:45 +02:00
Benjamin Otte
e316157671 API: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
The Colormap argument needed to be removed, so the renaming is just a
side effect.
2010-09-26 15:11:32 +02:00
Matthias Clasen
95eb4a868e Remove GDK_DISPLAY() usage 2010-09-09 21:55:28 -04:00
Javier Jardón
3d77c49e16 docs/tools/shooter.c: Use accessor functions to access GtkWidget 2010-08-22 18:29:02 +02:00
Christian Dywan
2fafb74105 Force shooter process updates to match gtk_widget_draw closely 2010-05-03 01:51:17 +02:00
Christian Dywan
5995cdb370 Use gtk_widget_queue_draw_area instead of gtk_widget_draw in shooter 2010-05-03 01:51:17 +02:00
Sven Neumann
418374e45b docs/tools/shooter.c (find_toplevel_window) fixed signedness of argument
2008-02-26  Sven Neumann  <sven@gimp.org>

	* docs/tools/shooter.c (find_toplevel_window)
	* docs/tools/widgets.c (find_toplevel_window): fixed signedness of
	argument passed to XQueryTree().

svn path=/trunk/; revision=19656
2008-02-26 14:14:40 +00:00
Jonathan Blandford
f0265b018e Update so that toplevel windows accomodate for the titlebar when sizing.
Tue Nov 16 00:08:07 2004  Jonathan Blandford  <jrb@redhat.com>

        * docs/tools/widgets.c: Update so that toplevel windows accomodate
        for the titlebar when sizing.  Also clean up statusbar

        * docs/reference/gtk/images/*png: update
2004-11-16 05:10:18 +00:00
Jonathan Blandford
0297f9a015 add the doc shooter to the docs dir as an uninstalled helper tool.
Mon Aug 23 17:19:19 2004  Jonathan Blandford  <jrb@redhat.com>

        * configure.in:
        * docs/tools/Makefile.am (clean-local): add the doc shooter to the
        docs dir as an uninstalled helper tool.
2004-08-23 21:22:55 +00:00