Commit Graph

11096 Commits

Author SHA1 Message Date
Benjamin Otte
3dfb47bc3c API: Add gtk_drag_set_icon_surface()
The function is supposed to replace gtk_drag_set_icon_pixmap().
2010-09-26 15:03:00 +02:00
Benjamin Otte
0d9d599b50 menu: set tearoff background using new background API 2010-09-26 15:03:00 +02:00
Benjamin Otte
134683c9be Use gdk_window_set_background_pattern() to set parent-relative bakground 2010-09-26 15:03:00 +02:00
Benjamin Otte
20d1030823 iconview: No need to set background 2010-09-26 15:03:00 +02:00
Benjamin Otte
84c77c0be3 style: Rewrite background handling to use cairo_pattern_t 2010-09-26 15:03:00 +02:00
Benjamin Otte
603a840de9 trayicon: Use new gdk_window_set_background_pattern() API 2010-09-26 15:03:00 +02:00
Benjamin Otte
5e4aaba482 gtk: Remove calls that try to set GDK_NO_BG on their windows
These calls aren't necessary anymore.
2010-09-26 15:03:00 +02:00
Benjamin Otte
806a7239ae widget: shape_combine_mask => shape_cobine_region
Replace gtk_widget_shape_combine_region() with
gtk_widget_shape_combine_mask() and
gtk_widget_input_shape_combine_region() with
gtk_widget_input_shape_combine_mask().
As GdkBitmap is going away, and the region equivalents already exist,
this seems like pretty much the default step to take.

Includes code to fix up the users.
2010-09-26 15:02:59 +02:00
Benjamin Otte
8b4d50dd1d treeview: Port to gdk_window_shape_combine_region()
gdk_window_shape_combine_mask() is going away. It's using a GdkPixmap
and falls back to gdk_window_shape_combine_region() anyway.
2010-09-26 15:02:59 +02:00
Benjamin Otte
0178bff5c0 colorsel: Use gdk_cursor_new_from_pixbuf() to create the cursor
gdk_cursor_new_from_pixmap() is about to die.
2010-09-26 15:02:59 +02:00
Benjamin Otte
37a62e9367 window: Remove call to gdk_window_set_icon()
Also remove all the functions taking care of it. This is now handled by
the X11 backend directly. And the other backends ignored this function
anyway.
2010-09-26 15:02:59 +02:00
Benjamin Otte
be1d190b2e style: Convert draw_spinner vfunc to Cairo version 2010-09-26 15:02:59 +02:00
Benjamin Otte
81f15cf908 style: Convert draw_resize_grip vfunc to Cairo version
Includes removal of now unused draw_simple_image_no_cairo() function
from pixbuf engine.
2010-09-26 15:02:59 +02:00
Benjamin Otte
d80e2897b9 style: Convert draw_layout vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
ff6e75adbc style: Convert draw_expander vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
e5e228debf style: Convert draw_handle vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
f0fd2e3a6e style: Convert draw_slider vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
24304a2e93 style: Convert draw_focus vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
4d4871203e style: Convert draw_extension vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
45a2656e32 style: Convert draw_box_gap vfunc to Cairo version
Includes removal of now unused draw_gap_image_no_cairo() function from
pixbuf theme engine.
2010-09-26 15:02:58 +02:00
Benjamin Otte
3f7b36d5cc style: Convert draw_shadow_gap vfunc to a Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
e1544bcc7f style: Convert draw_tab vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
f2dc8a26ed style: Convert draw_option vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
fed19bcf50 style: Convert draw_check vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
bea727a142 style: Convert draw_flat_box vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
8c325f0d60 style: Convert draw_shadow vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
e59cbd5605 style: Convert draw_vline vfunc to a Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
abaecf4308 style: Convert draw_hline vfunc to Cairo version 2010-09-26 15:02:58 +02:00
Benjamin Otte
07662f288d API: change gtk_style_apply_default_background()
It now takes a cr to apply the default background to. And it no longer
takes a set_bg parameter
2010-09-26 15:02:57 +02:00
Benjamin Otte
eda14b2d47 notebook: Fix compilation warnings
A quark is not a pointer.
2010-09-26 15:02:00 +02:00
Benjamin Otte
bbcb737b86 menu: Remove unused variable 2010-09-26 15:01:52 +02:00
Matthias Clasen
5aad25aa42 Nuke the 'Types' section from the docs 2010-09-24 23:03:51 -04:00
Matthias Clasen
8b5bc9669b GtkOffscreenWindow: shorten doc title 2010-09-24 22:13:42 -04:00
Matthias Clasen
a98127fc12 GtkScale: Remove links from doc section title 2010-09-24 21:52:58 -04:00
Matthias Clasen
92ededc9b4 GtkMenu: Add a destroy notify to gtk_menu_popup_for_device
This is necessary so language bindings can use gtk_menu_popup_for_device()
as a 'full' variant of gtk_menu_popup().

http://bugzilla.gnome.org/show_bug.cgi?id=623664
2010-09-24 13:52:49 -04:00
Matthias Clasen
cc9ac5b7ea Update docs of GtkAboutDialog and GtkLinkButton
Remove references to global hooks from the docs. Also move remaining
docs inline, and remove the templates.
2010-09-24 13:41:29 -04:00
Matthias Clasen
bc6a3f8cd8 DND: don't use uninitialized memory
The dest_x/y members of GtkDragDestInfo were not initialized.
At the same time, switch some of the small temporary structs
to g_slice allocation.

https://bugzilla.gnome.org/show_bug.cgi?id=630532
2010-09-24 13:23:47 -04:00
Matthias Clasen
1773b6d50a GtkAboutDialog: correct a since tag 2010-09-24 12:43:55 -04:00
Christian Dywan
7dde4d93ad gtkeditable: move documentation to inline comments
Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=617316
2010-09-24 18:42:44 +02:00
Florian Müllner
93fd2b44c3 introspection: Fix typo in annotation 2010-09-24 18:26:34 +02:00
Matthias Clasen
26c93dc04b GtkAboutDialog: escape mail addresses
This got lost when converting to the ::activate-link signal.
2010-09-24 12:02:37 -04:00
Matthias Clasen
94e9a35a16 Another since tag 2010-09-24 11:31:23 -04:00
Matthias Clasen
50971f704c Correct since tags 2010-09-24 11:29:17 -04:00
Matthias Clasen
3c19eea34b GtkNotebook: replace group by group_name
Dealing with bare pointers is problematic for language bindings,
using interned strings is much more straightforward and more than
good enough for what is needed here.

http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:13:30 -04:00
Matthias Clasen
b47b1428b8 GtkNotebook: remove gtk_notebook_set_window_creation_hook
http://bugzilla.gnome.org/show_bug.cgi?id=630521
2010-09-24 11:10:51 -04:00
Johan Dahlin
8736d31a04 Fix a couple of broken annotations 2010-09-23 17:57:16 -03:00
Matthias Clasen
76d7331578 Fix the annotation of gtk_tree_view_create_row_drag_icon 2010-09-23 13:17:52 -04:00
Matthias Clasen
84bae92928 fix a typo in the gtk_widget_render_icon annotations 2010-09-23 13:17:52 -04:00
Tristan Van Berkom
aad77642be Fixed GtkWrapBox base requests for ALIGNED and FREE mode
Problems were; in FREE mode there was a simple typo where we were
repeatedly checking the size of the same item in get_largest_line_length(),
and in ALIGNED mode we were assuming something like HOMOGENEOUS which
was incorrect; added get_largest_aligned_line_length() which properly
adds up the collective max sizes of every index in the line.
2010-09-22 16:06:42 +09:00
Tristan Van Berkom
c9ca4beb35 Fixed gtk_distribute_natural_allocation() to place the g_newa *after* g_return_if_fail() guards. 2010-09-22 16:06:42 +09:00