Matthias Clasen
4f2feb97c2
Avoid deprecation warnings
...
We don't really care if we use deprecated API inside deprecated
code, so just ignore the warning.
2014-10-15 14:43:19 -04:00
Matthias Clasen
15af0e789b
Revert "gtktrayicon-x11: Stop using set_double_buffered"
...
This reverts commit 4a72563c7b
.
It turns out that this commit broke statusicons under Xfce when
not using a compositor.
https://bugzilla.gnome.org/show_bug.cgi?id=737986
2014-10-15 14:43:19 -04:00
Benjamin Otte
a0bf0a0f70
themingengine: Call real API render functions
...
No need to call the private versions anymore now that the real ones
don't call into the theming engine.
2014-10-03 06:18:05 +02:00
Benjamin Otte
23948d6a3a
themingengine: Move actual render functions to gtkrender.c
...
GtkThemingEngine just always calls
gtk_do_render_foo(engine->priv->context, ...)
now. Other than that, the code is unchanged.
2014-10-03 06:18:05 +02:00
Benjamin Otte
d3c147a62d
stylecontext: Split render functions out into gtkrender.[ch]
2014-10-03 06:18:05 +02:00
Marek Kasik
8b5d30d439
Remove redundant checks for NULL
...
Remove checks for NULL before g_free() and g_clear_object().
Merge check for NULL, freeing of pointer and its setting
to NULL by g_clear_pointer().
https://bugzilla.gnome.org/show_bug.cgi?id=733157
2014-10-02 19:06:03 +02:00
Matthias Clasen
059e33ecea
Keep GtkMisc:xalign working for labels
...
Set the new label properties when gtk_misc_set_alignment is used,
to keep things working.
2014-09-29 23:56:20 -04:00
Matthias Clasen
a43e0177cf
Revert "Undreprecate GtkMisc::x/yalign for now"
...
This reverts commit 29eae57be4
.
We have GtkLabel:xalign now, so deprecate the GtkMisc property again.
2014-09-29 23:56:20 -04:00
Matthias Clasen
c7930417b4
GtkColorSelection: Better typography
...
Use U+201C/U+201D for quoting, and use U+2019 instead of apostrophe.
https://bugzilla.gnome.org/show_bug.cgi?id=735192
2014-09-29 23:05:21 -04:00
Sébastien Wilmet
c104c64436
Better mark GtkAlignment as deprecated
...
- Move the class to the Deprecated section.
- Warning at the bottom of the class description.
- A missing property was not marked as deprecated.
- Update doc of gtk_container_set_border_width() to not mention
GtkAlignment.
https://bugzilla.gnome.org/show_bug.cgi?id=736622
2014-09-17 15:02:50 +02:00
Sébastien Wilmet
21e0a114e0
docs: GtkStatusIcon is deprecated since 3.14, not 3.16
2014-09-17 15:02:50 +02:00
Matthias Clasen
29eae57be4
Undreprecate GtkMisc::x/yalign for now
...
These can't quite be replaced by h/valign, so keep the properties
undeprecated for 3.14.
2014-09-15 23:22:54 -04:00
Matthias Clasen
e014b89310
Move gtkthemingengine to deprecated directory
...
This is the place for wholly-deprecated sources.
2014-08-29 16:35:37 -04:00
Rico Tzschichholz
0ef0b9872e
gtk: Fix broken docs of GtkTranslateFunc
2014-08-18 14:38:04 +02:00
Matthias Clasen
c9da8bf2b3
Revert "docs: Fix broken gtk-doc formatting"
...
This reverts commit a7562dd38f
.
I prefer to not confuse gtk-doc with doc comments for private
functions.
2014-08-18 08:18:02 -04:00
Rico Tzschichholz
a7562dd38f
docs: Fix broken gtk-doc formatting
...
Fixes broken introspection of GtkTranslateFunc
2014-08-18 13:27:05 +02:00
Benjamin Otte
6c06bd55da
gtk: Don't use gtk_render_activity()
...
... in places where we draw a background. This was changed for GTK 3.0.0
to allow animations, but these days it doesn't make sense anymore to use
gtk_render_activity() for backgrounds.
2014-08-16 16:34:14 +02:00
Matthias Clasen
cab7dcde1b
Deprecate GtkStatusIcon
...
GtkStatusIcon is using a problematic, XEmbed-based protocol under X,
and we want to get rid of it eventually. Document our intentions by
marking GtkStatusIcon as deprecated.
https://bugzilla.gnome.org/show_bug.cgi?id=734826
2014-08-15 13:02:31 -04:00
Matthias Clasen
66492678b5
Flip GTK_STOCK_CLEAR icon in rtl locales
...
Adwaita now includes an edit-clear-rtl variant, so lets use it.
2014-06-26 18:02:05 -04:00
Michael Catanzaro
d9d0ba83ac
docs: add missing apostrophe
2014-06-21 12:16:29 -05:00
Matthias Clasen
ef30b8c051
docs: Drop image references for stock items
...
Most of those images are no longer in our tree, so just
say which ones have icons and rtl variants, instead of
showing it.
2014-06-20 10:55:48 -04:00
Matthias Clasen
36be12578c
Drop the builtin icon cache
...
We don't need it anymore, now that the non-standard stock icons
are using resources.
2014-06-20 01:17:44 -04:00
Matthias Clasen
a4b0d35649
Don't mention no longer existing widgets in the docs
...
GtkText, GtkList and GtkCList don't exist anymore.
2014-06-11 00:04:04 -04:00
Benjamin Otte
4a6957f50d
stylecontext: Remove state from _peek_style_property()
...
It evaluates to "current state" in all cases, so no need to special case
it.
2014-06-11 01:18:04 +02:00
Matthias Clasen
f6e5f88454
GtkRecentChooser: Use G_PARAM_EXPLICIT_NOTIFY
2014-06-09 13:31:03 -04:00
Chun-wei Fan
bbed824320
gtk/deprecated/gtkcolorsel.c: Include gtkwindowgroup.h
...
Since commit 872fbfac
the GtkWindowGroup was split out from the GtkWindow
sources, so include gtkwindowgroup.h to avoid C4013 warnings/errors
(implicit declaration of ...) on gtk_window_group_add_window().
2014-06-05 14:45:35 +08:00
Evan Nemerson
54ec42f035
gtk: port many nullability annotation fixes from Vala bindings
...
https://bugzilla.gnome.org/show_bug.cgi?id=730745
2014-05-30 13:24:20 -07:00
Matthias Clasen
489b59867c
Revert "GtkMisc: Keep gtk_misc_set_alignment working"
...
This reverts commit aabc356b80
.
Labels are back to looking at x/yalign (for now).
2014-05-29 10:32:46 -04:00
Evan Nemerson
9db729f5a6
gtk: fix several out argument annotations
...
These mostly just switch from allow-none to optional, nullable, or
both, as necessary.
https://bugzilla.gnome.org/show_bug.cgi?id=730745
2014-05-27 21:10:33 -07:00
Evan Nemerson
bda145b19f
gtk: fix annotation syntax and missing some missing annotations
...
These changes clean up various errors and omissions resulting from
either slightly incorrect G-I/gtk-doc syntax or missing documentation
blocks.
https://bugzilla.gnome.org/show_bug.cgi?id=730745
2014-05-27 21:10:32 -07:00
Evan Nemerson
e596e58c51
gtk: port missing array annotations from Vala bindings
...
https://bugzilla.gnome.org/show_bug.cgi?id=730745
2014-05-27 21:10:32 -07:00
Evan Nemerson
e568903360
gtk: fix many callback annotations to include closure information
...
Without this information introspection-based consumers don't realize
they can include context information, but instead think that they
receive an extra gpointer argument (which they don't know how to
handle).
https://bugzilla.gnome.org/show_bug.cgi?id=730745
2014-05-27 21:10:32 -07:00
Matthias Clasen
aabc356b80
GtkMisc: Keep gtk_misc_set_alignment working
...
Now that labels and images no longer use x/yalign in their code,
we need to make gtk_misc_set_alignment set the h/valign for these
widgets, to keep it stumbling along until its final demise.
https://bugzilla.gnome.org/show_bug.cgi?id=730613
2014-05-24 00:48:12 -04:00
Matthias Clasen
04703689b8
Deprecate GtkAligment
...
This has been dangling ever since 3.0.
https://bugzilla.gnome.org/show_bug.cgi?id=645781
2014-05-23 20:31:25 -04:00
Matthias Clasen
edd6c4d487
docs: enum cleanup
...
Move GtkExpanderStyle over to the deprecated GtkStyle.
2014-05-20 09:54:01 -04:00
Matthias Clasen
04192d04a2
docs: enum cleanup
...
Move types that are only used in binding parsing to
gtkrc, together with the deprecated api.
2014-05-20 09:54:01 -04:00
Matthias Clasen
cf1c8c8c69
docs: enum cleanup
...
Move GtkAttachOptions to the only place its used: GtkTable
2014-05-20 09:54:01 -04:00
Matthias Clasen
8b0b024385
More deprecation docs for GtkArrow
2014-05-13 23:52:47 -04:00
Matthias Clasen
a600718846
Deprecate GtkArrow
...
https://bugzilla.gnome.org/show_bug.cgi?id=729564
2014-05-13 23:50:13 -04:00
Matthias Clasen
ec0a60a248
Deprecate GtkMisc
...
This has been dangling ever since 3.0.
2014-05-13 08:45:00 -04:00
Matthias Clasen
7b17060654
GtkIconFactory: Remove outdated information from the docs
...
The stock browser was removed from gtk3-demo.
2014-05-11 22:02:45 -04:00
Matthias Clasen
49733154a6
Deprecate GtkNumerableIcon
...
It was a failed experiment, it is basically unused, and it complicates
code in GtkIconTheme that we want to rework.
2014-05-11 22:02:32 -04:00
Matthias Clasen
bf8a169cb9
docs: Another round of markup removal
2014-03-29 00:24:15 -04:00
Bastien Nocera
f71f7215ab
all: Name more idles and timeouts
...
Following up from 438cd857c4
,
name more timeouts and idles.
The original grep was missing checking for gdk_threads_add_*()
functions (at least for some of the files).
https://bugzilla.gnome.org/show_bug.cgi?id=726870
2014-03-26 20:09:30 -04:00
William Jon McCann
469d333aa2
docs: use Returns: consistently
...
Instead of Return value:
2014-02-19 18:56:05 -05:00
Matthias Clasen
c779b42476
Docs: use // for comments in examples
...
Without sgml mode, we can't escape /* as /* anymore,
so just switch to // for comments in examples.
2014-02-14 23:34:22 -05:00
Matthias Clasen
7f6a964c47
Docs: Remove all entities and turn off sgml mode
...
With all element markup gone, it is time to turn off
sgml mode, and get rid of entities as well.
2014-02-09 17:58:07 -05:00
William Jon McCann
326da2da58
docs: don't use <anchor>
2014-02-07 15:40:52 -05:00
William Jon McCann
13998c55e7
docs: use proper quotations instead of '*'
2014-02-07 14:22:39 -05:00
William Jon McCann
cb6483d382
docs: use apostrophe in *'d
2014-02-07 13:39:53 -05:00