Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gdk: Pass the GdkWindow to resize_cairo_surface vfunc | Benjamin Otte | 2010-12-02 | 6 | -6/+6 |
| | | | | So it's in sync with all the other vfuncs. | ||||
* | API: GdkWindow no longer is a GdkDrawable | Benjamin Otte | 2010-12-02 | 3 | -6/+6 |
| | | | | Also, name the get_type function properly. | ||||
* | x11: Remove unused GDK_DRAWABLE_XROOTWIN macro | Benjamin Otte | 2010-12-02 | 1 | -1/+0 |
| | |||||
* | x11: Remove duplicate definition of GDK_WINDOW_XID | Benjamin Otte | 2010-12-02 | 1 | -6/+0 |
| | | | | Now, where did that come from? | ||||
* | gdk: Move ref_cairo_surface from GdkDrawable to GdkWindowImpl | Benjamin Otte | 2010-12-02 | 5 | -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 Otte | 2010-12-02 | 3 | -23/+8 |
| | | | | Instead, call the vfunc directly from gdkWindow.c | ||||
* | x11: Remove outdated variable definition | Benjamin Otte | 2010-12-02 | 1 | -1/+0 |
| | |||||
* | gdk: Remove GdkDrawable->create_cairo_surface vfunc | Benjamin Otte | 2010-12-02 | 4 | -19/+0 |
| | | | | It's unused. | ||||
* | gdk: Remove _gdk_window_impl_get_type() function | Benjamin Otte | 2010-12-02 | 4 | -28/+7 |
| | | | | | It was only used in the backends, and they can use the correct type directly. | ||||
* | x11: Fix in_rectangle computation | Benjamin Otte | 2010-12-02 | 1 | -2/+2 |
| | | | | A point is not in a rectangle when it's at the x + width coordinate. | ||||
* | gdk: Rename GdkWindowObject to GdkWindow | Benjamin Otte | 2010-12-02 | 16 | -1567/+1164 |
| | | | | ... and remove most of the casting that used to be necessary. | ||||
* | gdk: Make GdkWindowImpl a class, not an interface | Benjamin Otte | 2010-12-02 | 7 | -191/+187 |
| | | | | | It's a subclass of GdkDrawable and the baseclass for GdkWindowImplX11 etc now. | ||||
* | gdk: Remove unused medialib code | Benjamin Otte | 2010-12-02 | 6 | -205/+0 |
| | |||||
* | API: Remove gdkdrawable.h from public headers | Benjamin Otte | 2010-12-02 | 3 | -7/+1 |
| | | | | It continues to exist as a private header. | ||||
* | textbuffer: Remove check for GdkDrawable | Benjamin Otte | 2010-12-02 | 1 | -4/+0 |
| | | | | | This should only have been used for stipple patterns, and those are gone now. | ||||
* | API: Decouple GdkWindow from GdkDrawable | Benjamin Otte | 2010-12-02 | 1 | -1/+1 |
| | | | | | Make GdkWindow no longer typedeffed to GdkDrawable, but instead make it be its own (private) type. | ||||
* | gdk: Use GdkDrawable for impl pointers | Benjamin Otte | 2010-12-02 | 1 | -2/+2 |
| | | | | ... instead of GdkWindow | ||||
* | gtk: Avoid GdkDrawable usage, including needless casts | Benjamin Otte | 2010-12-02 | 3 | -4/+4 |
| | |||||
* | gail: Avoid needless calls to GdkDrawable | Benjamin Otte | 2010-12-02 | 1 | -4/+2 |
| | |||||
* | gdk: Pass Drawable as argument | Benjamin Otte | 2010-12-02 | 5 | -5/+5 |
| | | | | We're not passing a GdKWindow here, but the implementation. | ||||
* | gdk: Make _gdk_window_ref_cairo_surface() protected and use it | Benjamin Otte | 2010-12-02 | 5 | -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() macro | Benjamin Otte | 2010-12-02 | 16 | -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 surfaces | Benjamin Otte | 2010-12-02 | 2 | -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 GdkDrawable | Benjamin Otte | 2010-12-02 | 2 | -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_region | Benjamin Otte | 2010-12-02 | 4 | -31/+22 |
| | | | | Also get rid of the GdkDrawable vfunc. | ||||
* | API: gdk_drawable_get_clip_region() => gdk_window_get_clip_region() | Benjamin Otte | 2010-12-02 | 6 | -31/+24 |
| | | | | Also remove the vfunc from GdkDrawableClass. | ||||
* | API: Make gdk_cairo_create() take a GdkWindow | Benjamin Otte | 2010-12-02 | 4 | -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 Otte | 2010-12-02 | 4 | -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 defines | Benjamin Otte | 2010-12-02 | 1 | -12/+0 |
| | |||||
* | x11: Remove GdkDrawableImplX11 | Benjamin Otte | 2010-12-02 | 6 | -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 Otte | 2010-12-02 | 4 | -18/+16 |
| | |||||
* | x11: Move cairo_surface and wrapper members to GdkWindowImplX11 struct | Benjamin Otte | 2010-12-02 | 4 | -129/+105 |
| | |||||
* | x11: Move xid member from GdkDrawableImplX11 to GdkWindowImplX11 | Benjamin Otte | 2010-12-02 | 5 | -18/+17 |
| | |||||
* | x11: Use GDK_WINDOW_XID() instead of writing it out | Benjamin Otte | 2010-12-02 | 1 | -2/+2 |
| | |||||
* | x11: Remove screen member from GdkDrawableImplX11 | Benjamin Otte | 2010-12-02 | 2 | -5/+1 |
| | |||||
* | x11: Get display from window, not from impl-drawable's screen | Benjamin Otte | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | x11: Get display from window, not from impl-drawable's screen | Benjamin Otte | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | x11: Change GDK_WINDOW_SCREEN macro | Benjamin Otte | 2010-12-02 | 3 | -3/+3 |
| | | | | | on't look at GdkDrawableImplX11->screen, but call gdk_window_get_screen() instead. | ||||
* | API: x11: Remove GDK_DRAWABLE_XID and GDK_DRAWABLE_XDISPLAY | Benjamin Otte | 2010-12-02 | 1 | -31/+1 |
| | | | | Window equivalents exist and drawables are on their way out. | ||||
* | x11: Use window macros instead of drawable macros | Benjamin Otte | 2010-12-02 | 6 | -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 Otte | 2010-12-02 | 4 | -33/+1 |
| | | | | No need for the function. Macros exist to do the same thing. | ||||
* | x11: Use window macros in test code | Benjamin Otte | 2010-12-02 | 1 | -1/+1 |
| | |||||
* | im-xim: Use window macros instead of drawable macros | Benjamin Otte | 2010-12-02 | 1 | -5/+5 |
| | |||||
* | API: x11: Remove gdk_x11_window_get_drawable_impl() | Benjamin Otte | 2010-12-02 | 5 | -10/+0 |
| | | | | It's not used anymore | ||||
* | API: x11: Change GDK_WINDOW_XDISPLAY() macro | Benjamin Otte | 2010-12-02 | 1 | -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_xid | Benjamin Otte | 2010-12-02 | 8 | -55/+46 |
| | | | | Also moves the function implementations to gtkwindow-x11.c. | ||||
* | Updated Spanish translation | Jorge González | 2010-12-02 | 1 | -1190/+1205 |
| | |||||
* | Updated Spanish translation | Jorge González | 2010-12-02 | 1 | -195/+222 |
| | |||||
* | gtk: Centre the text under the icon in GtkIconView | Bastien Nocera | 2010-12-02 | 1 | -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 toolbars | Matthias Clasen | 2010-12-01 | 1 | -2/+6 |
| | | | | | Recent changes cause disposing menus to emit ::deactivate. So better disconnect the deactivate handler first. |