| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Remove all the old 2.x and 3.x version annotations.
GTK+ 4 is a new start, and from the perspective of a
GTK+ 4 developer all these APIs have been around since
the beginning.
|
|
|
|
|
| |
The icon helper is not used, so no point in crashing
while trying to destroy it.
|
|
|
|
|
| |
Add a new, private gtk_image_get_image_size to replace it, and
update the remaining callers in a suitable way.
|
|
|
|
|
| |
The new values are the ones we intend to keep. The old ones had
duplicated meanings and nobody knew which one to take.
|
|
|
|
|
| |
It was only used to avoid gtk_icon_size_lookup() calls and those aren't
expensive.
|
|
|
|
|
|
| |
Instead of having gtk_snapshot_append_foo_node(), just have
gtk_snapshot_append_foo(). Nobody needs to know that this internally
uses nodes.
|
|
|
|
| |
Make the last 2 cell renderers create the cairo node themselves.
|
| |
|
|
|
|
| |
The argument must always be the current state.
|
|
|
|
| |
Move the icon size lookup API into gtkicontheme.c
|
|
|
|
| |
This is the GtkStyle code just moved.
|
|
|
|
| |
g_logv adds one for us already.
|
| |
|
|
|
|
| |
Instead of Return value:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We've recently a number of classes wholly. For these cases,
move the headers and sources to gtk/deprecated/ and adjust
Makefiles and includes accordingly.
Affected classes:
GtkAction
GtkActionGroup
GtkActivatable
GtkIconFactory
GtkImageMenuItem
GtkRadioAction
GtkRecentAction
GtkStock
GtkToggleAction
GtkUIManager
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=702996
|
|
|
|
|
| |
We want to use GtkIconTheme instead. It is worth noting that
the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
|
| |
|
| |
|
|
|
|
|
|
|
| |
In particular gtksettings.h and gtkstylecontext.h needed to be included
in lots of places now.
Also, I order the includes alphabetically in a bunch of headers.
|
| |
|
|
|
|
|
| |
The cell renderer relies on deprecated functionality, so we need to
disable deprecations for included deprecated headers.
|
| |
|
|
|
|
|
| |
gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a GTK+ 3.0 regression. In GTK+ 2, the render method
on GtkCellRenderer had a expose_area parameter, typically set to
cell_area. This parameter was used for clipping cell content to be
rendered to the cell area (and thus clipping to within the focus
rectangle). During the rendering clean up this parameter was removed
and no clipping put back into place.
Since expose_area was usually equal to cell_area anyway, it does not make
sense to reintroduce the expose_area parameter. Instead, we do clipping at
two levels:
- in gtk_cell_renderer_render() we clip to background_area. We cannot
clip to cell_area here because we want to allow cell renderers to
render in the background area (e.g. background color/effect).
- cell renderers should clip to clip_area when rendering cell
content individually (as they had to individually clip to expose_region
before).
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=630900
|
| |
|
|
|
|
|
|
| |
Large patch, but just renaming.
Indentation should still mostly be correct because I took care of
keeping the indentation for this function name.
|
|
|
|
| |
Also constify the rectangle arguments. They were const anyway.
|
| |
|
|
|
|
|
| |
This macro shouldn't be used in any function, but ->priv pointer
instead.
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=623845
|
|
|
|
|
|
| |
Use gtk_widget_get/set_state() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
|
|
|
|
|
|
| |
Use gtk_widget_has_focus() instead
https://bugzilla.gnome.org/show_bug.cgi?id=69872
|
|
|
|
| |
...and adjust all callers.
|
| |
|
| |
|
| |
|
| |
|
|
Add GtkSpinner activity throbber, as well as a cell renderer.
|