summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* gdk: Pass the GdkWindow to resize_cairo_surface vfuncBenjamin Otte2010-12-026-6/+6
| | | | So it's in sync with all the other vfuncs.
* API: GdkWindow no longer is a GdkDrawableBenjamin Otte2010-12-023-6/+6
| | | | Also, name the get_type function properly.
* x11: Remove unused GDK_DRAWABLE_XROOTWIN macroBenjamin Otte2010-12-021-1/+0
|
* x11: Remove duplicate definition of GDK_WINDOW_XIDBenjamin Otte2010-12-021-6/+0
| | | | Now, where did that come from?
* gdk: Move ref_cairo_surface from GdkDrawable to GdkWindowImplBenjamin Otte2010-12-025-21/+16
| | | | | Also make it take the actual GdkWindow, not the implementation, like all the other vfuncs do.
* gdk: Remove _gdk_drawable_ref_cairo_surface()Benjamin Otte2010-12-023-23/+8
| | | | Instead, call the vfunc directly from gdkWindow.c
* x11: Remove outdated variable definitionBenjamin Otte2010-12-021-1/+0
|
* gdk: Remove GdkDrawable->create_cairo_surface vfuncBenjamin Otte2010-12-024-19/+0
| | | | It's unused.
* gdk: Remove _gdk_window_impl_get_type() functionBenjamin Otte2010-12-024-28/+7
| | | | | It was only used in the backends, and they can use the correct type directly.
* x11: Fix in_rectangle computationBenjamin Otte2010-12-021-2/+2
| | | | A point is not in a rectangle when it's at the x + width coordinate.
* gdk: Rename GdkWindowObject to GdkWindowBenjamin Otte2010-12-0216-1567/+1164
| | | | ... and remove most of the casting that used to be necessary.
* gdk: Make GdkWindowImpl a class, not an interfaceBenjamin Otte2010-12-027-191/+187
| | | | | It's a subclass of GdkDrawable and the baseclass for GdkWindowImplX11 etc now.
* gdk: Remove unused medialib codeBenjamin Otte2010-12-026-205/+0
|
* API: Remove gdkdrawable.h from public headersBenjamin Otte2010-12-023-7/+1
| | | | It continues to exist as a private header.
* textbuffer: Remove check for GdkDrawableBenjamin Otte2010-12-021-4/+0
| | | | | This should only have been used for stipple patterns, and those are gone now.
* API: Decouple GdkWindow from GdkDrawableBenjamin Otte2010-12-021-1/+1
| | | | | Make GdkWindow no longer typedeffed to GdkDrawable, but instead make it be its own (private) type.
* gdk: Use GdkDrawable for impl pointersBenjamin Otte2010-12-021-2/+2
| | | | ... instead of GdkWindow
* gtk: Avoid GdkDrawable usage, including needless castsBenjamin Otte2010-12-023-4/+4
|
* gail: Avoid needless calls to GdkDrawableBenjamin Otte2010-12-021-4/+2
|
* gdk: Pass Drawable as argumentBenjamin Otte2010-12-025-5/+5
| | | | We're not passing a GdKWindow here, but the implementation.
* gdk: Make _gdk_window_ref_cairo_surface() protected and use itBenjamin Otte2010-12-025-26/+25
| | | | | | | ... instead of _gdk_drawable_ref_cairo_surface() where appropriate. Also, don't implement the drawable->create_cairo_surface vfunc anymore. This is in preparation for the split of GdkWindow from GdkDrawable.
* API: Remove GDK_WINDOW_XWINDOW() macroBenjamin Otte2010-12-0216-67/+65
| | | | | | | Use GDK_WINDOW_XID() instead. THis was done using sed, so there might be issues resulting to that. Feel free to fix.
* API: gdk: Don't track outstanding surfacesBenjamin Otte2010-12-022-12/+1
| | | | | | | You are not allowed to track surfaces from GDK or draw outside of expose events. So we can remove ugly hacks needed previously. See https://bugzilla.gnome.org/show_bug.cgi?id=606009 for the introduction of this workaround.
* x11: Make wrapper member a GdkDrawableBenjamin Otte2010-12-022-4/+4
| | | | | This is in preparation for getting rid of GdkDrawable as a dependency of GdkWindow.
* API: gdk_drawable_get_visible_region => gdk_window_get_visible_regionBenjamin Otte2010-12-024-31/+22
| | | | Also get rid of the GdkDrawable vfunc.
* API: gdk_drawable_get_clip_region() => gdk_window_get_clip_region()Benjamin Otte2010-12-026-31/+24
| | | | Also remove the vfunc from GdkDrawableClass.
* API: Make gdk_cairo_create() take a GdkWindowBenjamin Otte2010-12-024-49/+52
| | | | | | | | | This is not strictly an API change as GdkDrawable is typedeffed to GdkWindow, but it changes the header, so I'm marking it as such. gdk_cairo_create() can only be used with windows these days, so it makes sense to pass a window. With that, we can alseo remove the set_cairo_clip() vfunc from GdkDrawable and implement it inside gdkwindow.c.
* API: Remove gdk_cairo_reset_clip()Benjamin Otte2010-12-024-40/+3
| | | | | | You should not ever ever ever call cairo_reset_clip(). If you do, your code is broken and you deserve everything you get. And we should definitely not support this insanity.
* win32: Remove some unused definesBenjamin Otte2010-12-021-12/+0
|
* x11: Remove GdkDrawableImplX11Benjamin Otte2010-12-026-124/+4
| | | | | It's not use anymore, the whole functionality has been moved to GdkWindowImplX11.
* x11: _gdk_x11_drawable_update_size() => _gdk_x11_window_update_size()Benjamin Otte2010-12-024-18/+16
|
* x11: Move cairo_surface and wrapper members to GdkWindowImplX11 structBenjamin Otte2010-12-024-129/+105
|
* x11: Move xid member from GdkDrawableImplX11 to GdkWindowImplX11Benjamin Otte2010-12-025-18/+17
|
* x11: Use GDK_WINDOW_XID() instead of writing it outBenjamin Otte2010-12-021-2/+2
|
* x11: Remove screen member from GdkDrawableImplX11Benjamin Otte2010-12-022-5/+1
|
* x11: Get display from window, not from impl-drawable's screenBenjamin Otte2010-12-021-1/+1
|
* x11: Get display from window, not from impl-drawable's screenBenjamin Otte2010-12-021-1/+1
|
* x11: Change GDK_WINDOW_SCREEN macroBenjamin Otte2010-12-023-3/+3
| | | | | on't look at GdkDrawableImplX11->screen, but call gdk_window_get_screen() instead.
* API: x11: Remove GDK_DRAWABLE_XID and GDK_DRAWABLE_XDISPLAYBenjamin Otte2010-12-021-31/+1
| | | | Window equivalents exist and drawables are on their way out.
* x11: Use window macros instead of drawable macrosBenjamin Otte2010-12-026-70/+70
| | | | | GDK_WINDOW_XID() instead of GDK_DRAWABLE_XID() GDK_WINDOW_XDISPLAY() instead of GDK_DRAWABLE_XDISPLAY()
* API: Remove gdk_x11_drawable_get_xdisplay()Benjamin Otte2010-12-024-33/+1
| | | | No need for the function. Macros exist to do the same thing.
* x11: Use window macros in test codeBenjamin Otte2010-12-021-1/+1
|
* im-xim: Use window macros instead of drawable macrosBenjamin Otte2010-12-021-5/+5
|
* API: x11: Remove gdk_x11_window_get_drawable_impl()Benjamin Otte2010-12-025-10/+0
| | | | It's not used anymore
* API: x11: Change GDK_WINDOW_XDISPLAY() macroBenjamin Otte2010-12-021-1/+1
| | | | | Instead of lots of magic, we can go the usual way of requesting the XDisplay of the window's display. So we do that.
* API: x11: gdk_drawable_get_xid => gdk_window_get_xidBenjamin Otte2010-12-028-55/+46
| | | | Also moves the function implementations to gtkwindow-x11.c.
* Updated Spanish translationJorge González2010-12-021-1190/+1205
|
* Updated Spanish translationJorge González2010-12-021-195/+222
|
* gtk: Centre the text under the icon in GtkIconViewBastien Nocera2010-12-021-2/+2
| | | | | No point in setting the alignment to centre if we don't center it within the cell itself.
* Avoid a warning when finalizing toolbarsMatthias Clasen2010-12-011-2/+6
| | | | | Recent changes cause disposing menus to emit ::deactivate. So better disconnect the deactivate handler first.