]> Pileus Git - ~andy/gtk/log
~andy/gtk
13 years agomenubar: Port to draw vfunc
Benjamin Otte [Mon, 6 Sep 2010 15:23:40 +0000 (17:23 +0200)]
menubar: Port to draw vfunc

13 years agotextview: Port to draw vfunc
Benjamin Otte [Mon, 6 Sep 2010 14:38:08 +0000 (16:38 +0200)]
textview: Port to draw vfunc

13 years agoseparatortoolitem: Port to draw vfunc
Benjamin Otte [Mon, 6 Sep 2010 14:20:30 +0000 (16:20 +0200)]
separatortoolitem: Port to draw vfunc

13 years agotoolbar: Port to draw vfunc
Benjamin Otte [Mon, 6 Sep 2010 14:10:08 +0000 (16:10 +0200)]
toolbar: Port to draw vfunc

13 years agotoolbar: Don't propagate events to placeholders
Benjamin Otte [Mon, 6 Sep 2010 14:07:44 +0000 (16:07 +0200)]
toolbar: Don't propagate events to placeholders

In particular don't when that's done using uninitialized memory

13 years agotoolpalette: Port to draw vfunc
Benjamin Otte [Mon, 6 Sep 2010 11:56:26 +0000 (13:56 +0200)]
toolpalette: Port to draw vfunc

13 years agotreeview: Port to draw vfunc
Benjamin Otte [Mon, 6 Sep 2010 11:51:17 +0000 (13:51 +0200)]
treeview: Port to draw vfunc

13 years agotreeview: Update rubberbanding code to Cairo
Benjamin Otte [Thu, 9 Sep 2010 19:38:15 +0000 (21:38 +0200)]
treeview: Update rubberbanding code to Cairo

13 years agotreeview: Do not put different windows in else if branches anymore
Benjamin Otte [Mon, 6 Sep 2010 11:31:33 +0000 (13:31 +0200)]
treeview: Do not put different windows in else if branches anymore

13 years agotreeview: Use Cairo for all bin window drawing
Benjamin Otte [Mon, 6 Sep 2010 10:39:00 +0000 (12:39 +0200)]
treeview: Use Cairo for all bin window drawing

13 years agotreeview: Invalidate on expander changes, don't just repaint
Benjamin Otte [Mon, 6 Sep 2010 11:27:50 +0000 (13:27 +0200)]
treeview: Invalidate on expander changes, don't just repaint

Repaints are supposed to be initiated by GDK, not by random repaints.

13 years agotreeview: Draw empty tree view with Cairo
Benjamin Otte [Mon, 6 Sep 2010 10:19:58 +0000 (12:19 +0200)]
treeview: Draw empty tree view with Cairo

13 years agoAPI: Add gtk_container_propagate_draw()
Benjamin Otte [Mon, 6 Sep 2010 09:34:07 +0000 (11:34 +0200)]
API: Add gtk_container_propagate_draw()

Equivalent to gtk_container_propagate_expose(), just for the draw event.
Also port GtkContainer to the draw vfunc

13 years agowidget: Store the expose event in the cairo_t, not just the window
Benjamin Otte [Mon, 6 Sep 2010 09:33:21 +0000 (11:33 +0200)]
widget: Store the expose event in the cairo_t, not just the window

This way we can grab it for propagating expose events. Not sure if we
need to do this once we're all Cairo, but for now we do.

13 years agoaccellabel: Port to draw vfunc
Benjamin Otte [Sun, 5 Sep 2010 18:42:56 +0000 (20:42 +0200)]
accellabel: Port to draw vfunc

13 years agolabel: Port to draw vfunc
Benjamin Otte [Sun, 5 Sep 2010 18:04:10 +0000 (20:04 +0200)]
label: Port to draw vfunc

13 years agoscale: Port to draw vfunc
Benjamin Otte [Sat, 4 Sep 2010 21:16:16 +0000 (23:16 +0200)]
scale: Port to draw vfunc

13 years agorange: Port to draw vfunc
Benjamin Otte [Sat, 4 Sep 2010 19:44:54 +0000 (21:44 +0200)]
range: Port to draw vfunc

13 years agorange: Make drawing use a single cairo context
Benjamin Otte [Sat, 4 Sep 2010 19:34:01 +0000 (21:34 +0200)]
range: Make drawing use a single cairo context

13 years agotests: Remove ability to set backend from testfilechooser
Benjamin Otte [Sat, 4 Sep 2010 17:53:18 +0000 (19:53 +0200)]
tests: Remove ability to set backend from testfilechooser

There's no backends anymore

13 years agoarrow: Port to draw vfunc
Benjamin Otte [Sat, 4 Sep 2010 17:28:22 +0000 (19:28 +0200)]
arrow: Port to draw vfunc

13 years agocalendar: Port to draw vfunc
Benjamin Otte [Sat, 4 Sep 2010 17:16:26 +0000 (19:16 +0200)]
calendar: Port to draw vfunc

13 years agocalendar: Fix drawing order for windows
Benjamin Otte [Sat, 4 Sep 2010 17:09:13 +0000 (19:09 +0200)]
calendar: Fix drawing order for windows

13 years agocalendar: Create one cairo_t per expose event and pass it around
Benjamin Otte [Sat, 4 Sep 2010 17:07:39 +0000 (19:07 +0200)]
calendar: Create one cairo_t per expose event and pass it around

13 years agocellview: Port to draw vfunc
Benjamin Otte [Fri, 3 Sep 2010 16:41:52 +0000 (18:41 +0200)]
cellview: Port to draw vfunc

13 years agospinner: Port to draw vfunc
Benjamin Otte [Fri, 3 Sep 2010 16:30:30 +0000 (18:30 +0200)]
spinner: Port to draw vfunc

13 years agoimage: Port to draw vfunc
Benjamin Otte [Fri, 3 Sep 2010 16:22:59 +0000 (18:22 +0200)]
image: Port to draw vfunc

13 years agoimage: Always render the whole image
Benjamin Otte [Fri, 3 Sep 2010 16:18:28 +0000 (18:18 +0200)]
image: Always render the whole image

Otherwise effects like blur etc will have funny seams on repaints.
Oh, and also, the draw vfunc doesn't have an equivalent to event->area
;)

13 years agospinbutton: Port to draw vfunc
Benjamin Otte [Thu, 9 Sep 2010 19:22:43 +0000 (21:22 +0200)]
spinbutton: Port to draw vfunc

13 years agoentry: Remove gtk_entry_is_drawable() checks when painting
Benjamin Otte [Fri, 3 Sep 2010 16:03:18 +0000 (18:03 +0200)]
entry: Remove gtk_entry_is_drawable() checks when painting

13 years agoentry: Port to draw signal
Benjamin Otte [Fri, 3 Sep 2010 15:53:08 +0000 (17:53 +0200)]
entry: Port to draw signal

13 years agoentry: Split else ifs into separate if statements
Benjamin Otte [Fri, 3 Sep 2010 15:25:26 +0000 (17:25 +0200)]
entry: Split else ifs into separate if statements

Preparation for the draw vfunc

13 years agoentry: Add bug reference to workaround
Benjamin Otte [Thu, 2 Sep 2010 22:17:35 +0000 (00:17 +0200)]
entry: Add bug reference to workaround

13 years agoAPI: Add gtk_cairo_should_draw_window()
Benjamin Otte [Thu, 2 Sep 2010 21:26:13 +0000 (23:26 +0200)]
API: Add gtk_cairo_should_draw_window()

See the function documentation for its purpose and the next commit(s)
for examples on how to use it.

13 years agoruler: Port to draw signal
Benjamin Otte [Tue, 14 Sep 2010 10:24:27 +0000 (12:24 +0200)]
ruler: Port to draw signal

13 years agoAPI: ruler: Change draw_pos vfunc to take a cr, width and height
Benjamin Otte [Thu, 2 Sep 2010 16:02:48 +0000 (18:02 +0200)]
API: ruler: Change draw_pos vfunc to take a cr, width and height

Also refactor code to use it

13 years agoAPI: ruler: Remove private ruler draw functions from header
Benjamin Otte [Thu, 2 Sep 2010 15:50:41 +0000 (17:50 +0200)]
API: ruler: Remove private ruler draw functions from header

13 years agoruler: Change the way the ruler handles exposes
Benjamin Otte [Thu, 2 Sep 2010 12:57:16 +0000 (14:57 +0200)]
ruler: Change the way the ruler handles exposes

1) Don't directly draw in motion-notify, instead call
   gtk_widget_queue_draw()
2) Don't draw ticks in expose events anymore, only when they were
   changed

13 years agoAPI: ruler: Change draw_ticks vfunc
Benjamin Otte [Thu, 2 Sep 2010 12:47:02 +0000 (14:47 +0200)]
API: ruler: Change draw_ticks vfunc

We now pass in a cairo_t of the backbuffer and the width and height of
the widget/backbuffer, so the vfunc has a place to draw to.

13 years agoruler: Don't create two cairo_t's
Benjamin Otte [Wed, 1 Sep 2010 21:08:01 +0000 (23:08 +0200)]
ruler: Don't create two cairo_t's

13 years agoseparator: Convert to draw signal
Benjamin Otte [Thu, 9 Sep 2010 19:03:24 +0000 (21:03 +0200)]
separator: Convert to draw signal

13 years agohsv: Convert to draw signal
Benjamin Otte [Wed, 1 Sep 2010 19:30:39 +0000 (21:30 +0200)]
hsv: Convert to draw signal

13 years agoprogressbar: Port to new draw signal
Benjamin Otte [Wed, 1 Sep 2010 19:22:11 +0000 (21:22 +0200)]
progressbar: Port to new draw signal

13 years agowidget: Add draw signal
Benjamin Otte [Wed, 1 Sep 2010 18:13:44 +0000 (20:13 +0200)]
widget: Add draw signal

For now, the draw signal is emitted by default from the expose event, so
widgets can chose to either implement the expose event or the draw
function.
This is for the transitional period from expose event to draw signal.

Note that for now subclasses can only implement the draw function when
none of their parents implemented the expose event.

13 years agoAPI: Add API to query width and height when rendering
Benjamin Otte [Tue, 14 Sep 2010 09:39:51 +0000 (11:39 +0200)]
API: Add API to query width and height when rendering

The functions are gtk_widget_get_allocated_width() and
gtk_widget_get_allocated_height().

They are currently identical to using width/height of
gtk_widget_get_allocation(), but are introduced for ease of use (no need
to use a custom struct) and to free people from having to think about
allocation.x and allocation.y (which is where the origin of the cairo
context in GtkWidget::draw is located).

13 years agoAPI: add gdk_cairo_get_clip_rectangle() convenience API
Benjamin Otte [Wed, 8 Sep 2010 23:45:54 +0000 (01:45 +0200)]
API: add gdk_cairo_get_clip_rectangle() convenience API

13 years agobuild: Depend on cairo-gobject
Benjamin Otte [Wed, 1 Sep 2010 17:57:01 +0000 (19:57 +0200)]
build: Depend on cairo-gobject

We want to use cairo types for signals and properties, so we need to
depend on the library providing them.

13 years agoCreate cairo context after running validate_visible_area()
Kristian Rietveld [Wed, 15 Sep 2010 12:20:31 +0000 (14:20 +0200)]
Create cairo context after running validate_visible_area()

validate_visible_area() can change the vertical adjustment and thus
trigger window moves/scrolls.  This seems to change the surface for
which gtk_tree_view_bin_expose() just created a cairo context.  Creating
the cairo context after the call to validate_visible_area() fixes
such crashes.

13 years agoquartz: Get size from wrapper, not drawable
Kristian Rietveld [Wed, 15 Sep 2010 09:36:13 +0000 (11:36 +0200)]
quartz: Get size from wrapper, not drawable

13 years agoMake the docs build
Matthias Clasen [Thu, 9 Sep 2010 03:29:23 +0000 (23:29 -0400)]
Make the docs build

13 years agoAPI: Remove GdkColormap
Benjamin Otte [Sun, 29 Aug 2010 11:06:35 +0000 (13:06 +0200)]
API: Remove GdkColormap

13 years agogdk: Remove nonexisting function from internal header
Benjamin Otte [Sun, 29 Aug 2010 10:53:02 +0000 (12:53 +0200)]
gdk: Remove nonexisting function from internal header

13 years agoAPI: Remove colormap handling from GdkScreen
Benjamin Otte [Sun, 29 Aug 2010 10:51:07 +0000 (12:51 +0200)]
API: Remove colormap handling from GdkScreen

In particular, the following functions are gone:
- gdk_screen_get_default_colormap()
- gdk_screen_set_default_colormap()
- gdk_screen_get_system_colormap()
- gdk_screen_get_rgba_colormap()

13 years agoAPI: Remove gdk_drawable_get_colormap()
Benjamin Otte [Sun, 29 Aug 2010 10:37:58 +0000 (12:37 +0200)]
API: Remove gdk_drawable_get_colormap()

And with it, remove any notion of colormaps from GdkWindow. In
particular, X11 windows will now not set attrs.colormap when calling
XCreateWindow.

13 years agox11: Keep a default X Colormap in every visual to construct windows with
Benjamin Otte [Sun, 29 Aug 2010 15:48:58 +0000 (17:48 +0200)]
x11: Keep a default X Colormap in every visual to construct windows with

This way, we can specify a colormap when constructing windows. And ew
must do that to avoid BadMatch from XCreateWindow when we use a
different visual.

13 years agox11: Use G_DEFINE_TYPE() to define GdkVisual
Benjamin Otte [Sun, 29 Aug 2010 14:40:48 +0000 (16:40 +0200)]
x11: Use G_DEFINE_TYPE() to define GdkVisual

Also add a priv pointer to GdkVisual and use it for the GdkVisualPrivate
structure. Then Make GdkVisualPrivate actually private to
gdkvisual-x11.c and make other callers use proper function calls to
access it.

13 years agox11: Set background color bypassing colormaps
Benjamin Otte [Sun, 29 Aug 2010 09:52:29 +0000 (11:52 +0200)]
x11: Set background color bypassing colormaps

Direct and TrueColor visuals don't alloc colors, so they don't need to
fiddle with colormaps. Just copy the code that computes the pixel value
from gdkcolor-x11.c and use it. For other visual types, don't set the
background color and fallback to background = None.

13 years agoAPI: Remove colormap member from GdkWindowAttr
Benjamin Otte [Sun, 29 Aug 2010 00:30:33 +0000 (02:30 +0200)]
API: Remove colormap member from GdkWindowAttr

Also remove all code that cares about differing colormaps for child
windows.

13 years agoquartz: Compare visuals for RGBA, not colormaps
Benjamin Otte [Sun, 29 Aug 2010 00:16:27 +0000 (02:16 +0200)]
quartz: Compare visuals for RGBA, not colormaps

13 years agoAPI: Remove gdk_drawable_get_display()
Benjamin Otte [Sun, 29 Aug 2010 00:10:19 +0000 (02:10 +0200)]
API: Remove gdk_drawable_get_display()

13 years agogdk: gdk_drawable_get_display() => gdk_window_get_display()
Benjamin Otte [Sun, 29 Aug 2010 00:08:47 +0000 (02:08 +0200)]
gdk: gdk_drawable_get_display() => gdk_window_get_display()

13 years agogtk: gdk_drawable_get_display() => gdk_window_get_display()
Benjamin Otte [Sun, 29 Aug 2010 00:08:24 +0000 (02:08 +0200)]
gtk: gdk_drawable_get_display() => gdk_window_get_display()

13 years agoAPI: Add gdk_window_get_display()
Benjamin Otte [Sun, 29 Aug 2010 00:03:19 +0000 (02:03 +0200)]
API: Add gdk_window_get_display()

13 years agox11: Use gdk_window_get_screen() in the testutils
Benjamin Otte [Sat, 28 Aug 2010 23:53:58 +0000 (01:53 +0200)]
x11: Use gdk_window_get_screen() in the testutils

13 years agoAPI: Remove drawable getters for visual, screen and depth
Benjamin Otte [Sat, 28 Aug 2010 23:49:30 +0000 (01:49 +0200)]
API: Remove drawable getters for visual, screen and depth

Removed and replaced are:
gdk_drawable_get_visual() => gdk_window_get_visual()
gdk_drawable_get_screen() => gdk_window_get_screen()
gdk_drawable_get_depth()  => gdk_visual_get_depth
                                          (gdk_window_get_visual())

13 years agoquartz: Remove unused _gdk_quartz_colormap_get_cgcolor_from_pixel()
Benjamin Otte [Sat, 28 Aug 2010 23:51:54 +0000 (01:51 +0200)]
quartz: Remove unused _gdk_quartz_colormap_get_cgcolor_from_pixel()

13 years agogdk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
Benjamin Otte [Sat, 28 Aug 2010 23:32:52 +0000 (01:32 +0200)]
gdk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual

13 years agogtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual
Benjamin Otte [Sat, 28 Aug 2010 23:18:43 +0000 (01:18 +0200)]
gtk: gdk_drawable_get_screen/visual => gdk_window_get_screen/visual

13 years agoAPI: Add gdk_window_get_visual() and gdk_window_get_screen()
Benjamin Otte [Sat, 28 Aug 2010 23:15:28 +0000 (01:15 +0200)]
API: Add gdk_window_get_visual() and gdk_window_get_screen()

Now that we store the visual in the GdkWindow, these are rather trivial
accessors.

13 years agogdk: store the visual in the GdkWindowObject
Benjamin Otte [Sat, 28 Aug 2010 23:05:59 +0000 (01:05 +0200)]
gdk: store the visual in the GdkWindowObject

13 years agoAPI: Remove gdk_drawable_set_colormap()
Benjamin Otte [Sat, 28 Aug 2010 22:03:01 +0000 (00:03 +0200)]
API: Remove gdk_drawable_set_colormap()

13 years agoAPI: gdk_pixbuf_get_from_drawable() => gdk_pixbuf_get_from_window()
Benjamin Otte [Sat, 28 Aug 2010 21:51:58 +0000 (23:51 +0200)]
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.

13 years agodnd: Remove unused colormap code
Benjamin Otte [Sat, 28 Aug 2010 21:30:39 +0000 (23:30 +0200)]
dnd: Remove unused colormap code

13 years agoAPI: Remove setters and getters for default colormaps
Benjamin Otte [Sat, 28 Aug 2010 21:22:34 +0000 (23:22 +0200)]
API: Remove setters and getters for default colormaps

This removes:
gtk_widget_set_default_colormap()
gtk_widget_get_default_colormap()
gtk_widget_get_default_visual()

Colormaps are gone, and the default visual is the system visual of the
default screen.

13 years agoAPI: Remove colormap setting and getting from GtkWidget
Benjamin Otte [Sat, 28 Aug 2010 21:19:28 +0000 (23:19 +0200)]
API: Remove colormap setting and getting from GtkWidget

gtk_widget_get_colormap() and gtk_widget_set_colormap() are gone. They
are replaced by visuals.

13 years agostyle: Move from colormaps to visuals
Benjamin Otte [Sat, 28 Aug 2010 21:19:18 +0000 (23:19 +0200)]
style: Move from colormaps to visuals

13 years agotestgtk: Check visual, not colormap for RGBA availability
Benjamin Otte [Sat, 28 Aug 2010 21:13:19 +0000 (23:13 +0200)]
testgtk: Check visual, not colormap for RGBA availability

13 years agogtk-demo: Remove colormaps from window attributes
Benjamin Otte [Sat, 28 Aug 2010 21:05:48 +0000 (23:05 +0200)]
gtk-demo: Remove colormaps from window attributes

13 years agogdk: Create paint surfaces of the same content as the window
Benjamin Otte [Sat, 28 Aug 2010 20:26:48 +0000 (22:26 +0200)]
gdk: Create paint surfaces of the same content as the window

Previously, we failed to create RGBA double buffers for RGBA windows.

13 years agotrayicon: Use XClearArea
Benjamin Otte [Sat, 28 Aug 2010 18:24:28 +0000 (20:24 +0200)]
trayicon: Use XClearArea

gdk_window_clear_area() isn't smart enough to clear to a parent pixmap
that is part of a window that GDK doesn't manage.

13 years agotestgtk: gtk_widget_set_colormap() => gtk_window_set_visual()
Benjamin Otte [Sat, 28 Aug 2010 18:04:08 +0000 (20:04 +0200)]
testgtk: gtk_widget_set_colormap() => gtk_window_set_visual()

13 years agotrayicon: Change to use gtk_window_set_visual()
Benjamin Otte [Sat, 28 Aug 2010 17:54:26 +0000 (19:54 +0200)]
trayicon: Change to use gtk_window_set_visual()

One less user of colormaps, and the code is cleaner, too!

13 years agowindow: Keep track of own visual
Benjamin Otte [Sat, 28 Aug 2010 17:49:03 +0000 (19:49 +0200)]
window: Keep track of own visual

Add gtk_window_set_visual() and a "visual" property. This allows
changing the window visual to the rgba one and other awesome things
(like implementing the trayicon spec).

13 years agogtk: Change gtk_widget_get_visual()
Benjamin Otte [Sat, 28 Aug 2010 16:52:27 +0000 (18:52 +0200)]
gtk: Change gtk_widget_get_visual()

We now return the visual of the topmost widget in widget's stack that
has a window. If no such widget exists, but a GtkWindow is a parent, we
return its visual (note: GtkWindow Will gain support for setting visuals
soon). If a window doesn't exist, we return the system visual of the
default screen.

This change has multiple reasons:
- Colormaps are gone
  Now visuals are the most important resource for creating GDK windows.
- Allow widgets to change visuals for themselves and their children
  By walking the hierarchy, we ensure that child windows have the same
  visual as their parents by default. But widgets can still select a
  different visual in their realize handler when creating the GDK
  window.
- Have a replacement for gtk_widget_set_colormap()
  That function is going to die with colormaps, so a replacement was
  needed. That replacement is going to be gdk_window_set_visual().
- Make a future transition to no-window GTK easy
  Should we ever attempt a change to make all GTK widgets no-window, a
  gtk_widget_set_visual() would be silly, as only widgets with windows
  can have their own visuals. So only toplevels will gain the ability to
  change it.

13 years agotests: Don't set colormap when creating offscreen windows
Benjamin Otte [Sat, 28 Aug 2010 16:05:47 +0000 (18:05 +0200)]
tests: Don't set colormap when creating offscreen windows

13 years agotestgtk: Don't set colormap when creating GDK windows
Benjamin Otte [Sat, 28 Aug 2010 16:05:30 +0000 (18:05 +0200)]
testgtk: Don't set colormap when creating GDK windows

13 years agogtk: Don't set colormap anymore when creating GDK windows
Benjamin Otte [Sat, 28 Aug 2010 16:04:08 +0000 (18:04 +0200)]
gtk: Don't set colormap anymore when creating GDK windows

Colormaps are about to be removed, so not using them sounds like an
awesome idea.

13 years agotestgtk: No need to set a custom colourmap here
Benjamin Otte [Sat, 28 Aug 2010 15:35:47 +0000 (17:35 +0200)]
testgtk: No need to set a custom colourmap here

13 years agospinner: We're a no-window widget, so setting a colormap does nothing
Benjamin Otte [Sat, 28 Aug 2010 14:51:52 +0000 (16:51 +0200)]
spinner: We're a no-window widget, so setting a colormap does nothing

13 years agostyle: Remove depth member from GtkStyle
Benjamin Otte [Sat, 28 Aug 2010 10:08:24 +0000 (12:08 +0200)]
style: Remove depth member from GtkStyle

13 years agogdk: Remove _gdk_drawable_get_source_drawable()
Benjamin Otte [Sat, 28 Aug 2010 09:57:03 +0000 (11:57 +0200)]
gdk: Remove _gdk_drawable_get_source_drawable()

Now that we don't create pixmaps anymore, this function is not needed
anymore. The indirection it did previously is now basically moved to
gdk_window_create_similar_surface()

13 years agostyle: Remove depth checks in render functions
Benjamin Otte [Sat, 28 Aug 2010 09:52:19 +0000 (11:52 +0200)]
style: Remove depth checks in render functions

There's no need for them anymore now that we render with Cairo.

13 years agox11: Remove some unused macros
Benjamin Otte [Sat, 28 Aug 2010 09:49:20 +0000 (11:49 +0200)]
x11: Remove some unused macros

13 years agox11: s/GDK_DRAWABLE_DISPLAY/GDK_WINDOW_DISPLAY
Benjamin Otte [Sat, 28 Aug 2010 09:48:14 +0000 (11:48 +0200)]
x11: s/GDK_DRAWABLE_DISPLAY/GDK_WINDOW_DISPLAY

13 years agotests: No need to allocate colors anymore
Benjamin Otte [Fri, 27 Aug 2010 18:02:04 +0000 (20:02 +0200)]
tests: No need to allocate colors anymore

13 years agoAPI: Remove gtk_widget_push_colormap()
Benjamin Otte [Fri, 27 Aug 2010 17:47:43 +0000 (19:47 +0200)]
API: Remove gtk_widget_push_colormap()

And of course, gtk_widget_pop_colormap() is gone, too.
No replacement is necessary, the function is basically unused.

13 years agogdk: Remove pixmap debug category
Benjamin Otte [Fri, 27 Aug 2010 14:34:09 +0000 (16:34 +0200)]
gdk: Remove pixmap debug category

It's not used anywhere anymore.

13 years agogdk: Remove GdkPixmap
Benjamin Otte [Fri, 27 Aug 2010 15:05:48 +0000 (17:05 +0200)]
gdk: Remove GdkPixmap

All iusers of it are gone, so it's now time to let go.
cairo_surface_t is a full replacement, combined with
gdk_window_create_similar_surface().

13 years agoInclude OS X system headers
Kristian Rietveld [Tue, 14 Sep 2010 06:16:54 +0000 (08:16 +0200)]
Include OS X system headers

13 years agotests: Remove GdkPixmap from test
Benjamin Otte [Fri, 27 Aug 2010 15:03:02 +0000 (17:03 +0200)]
tests: Remove GdkPixmap from test

It's not used anymore. (Was it ever?)