summaryrefslogtreecommitdiff
path: root/gtk/deprecated
Commit message (Collapse)AuthorAgeFilesLines
* Assign a recent manager if one is setEmmanuele Bassi2016-04-191-3/+3
| | | | | | | The GtkRecentAction implementation ignored a GtkRecentManager passed to its :manager property. https://bugzilla.gnome.org/show_bug.cgi?id=620065
* ui-manager: Fix "format not a string literal" errorsBastien Nocera2016-04-051-47/+82
| | | | | | | Quite a bit of code movement, but necessary to build with the default format errors produced by newer versions of GCC. https://bugzilla.gnome.org/show_bug.cgi?id=764585
* styleproperties: Really don't use 'i' in inner loopBenjamin Otte2016-03-201-1/+1
| | | | | | | | I apparently was too tired when doing 8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af and forgot to replace one instance of 'i' with 'j'. Thanks Timm for finding that one.
* styleproperties: Don't use the same loop variable in nested loopsBenjamin Otte2016-03-201-3/+3
| | | | http://www.viva64.com/en/b/0383/
* builder: Allow 'primary' as a modifier valueMatthias Clasen2016-03-051-0/+1
| | | | | | | | Support aliases for flags values in GtkBuilder, and use this to support the special value 'primary' for GdkModifierType values. https://bugzilla.gnome.org/show_bug.cgi?id=699891
* status icon: Prevent size ditheringMatthias Clasen2016-03-051-1/+1
| | | | | | | | | We're seeing loops where the size of some status icons constantly dithers between 24 and 25. Since I couldn't track down exactly where the one extra pixel comes from, just stop reacting to single-pixel size changes. https://bugzilla.gnome.org/show_bug.cgi?id=758893
* Don't use g_print for debug outputMatthias Clasen2016-02-281-25/+22
| | | | | | The g_print documentation explicitly says not to do this, since g_print is meant to be redirected by applications. Instead use g_message for logging that can be triggered via GTK_DEBUG.
* Drop some unused debug printfsMatthias Clasen2016-02-282-21/+0
| | | | | Remove some debug spew that has been ifdef'ed out for years and does not look useful enough to keep.
* gtk: Strip newlines from g_warning and g_errorMatthias Clasen2016-02-284-11/+8
| | | | g_logv adds one for us already.
* win32: Remove unused functions / header includesBenjamin Otte2016-02-111-1/+0
|
* Mention GtkIconSize in all docs where the argument/return is annotated as ↵Christoph Reiter2016-01-043-16/+17
| | | | | | | | | | | | | | | | | | taking an int instead of GtkIconSize In https://bugzilla.gnome.org/show_bug.cgi?id=601425 the annotations were changed to int as they not only take the predefined enum values but also user defined values registered through gtk_icon_size_register() As a result the typelib doesn't contain any information about GtkIconSize for those arguments and the Python docstring only shows the corresponding Python type "int". This changes the argument docs to mention the type explicitly so the Python doc generator can add a link to Gtk.IconSize which contains the most useful predefined values. https://bugzilla.gnome.org/show_bug.cgi?id=757411
* Fix include path for gtkiconfactoryprivate.hРуслан Ижбулатов2015-12-301-1/+1
|
* statusicon: Avoid criticalsMatthias Clasen2015-12-281-2/+7
| | | | | | | | | The code handles the possibility of pixbuf being NULL, but after b411c318321fd4de556926119cbc6e3ba14f073a we must be prepared for surface already being NULL. Pointed out by Albert Muktupāvels, https://bugzilla.gnome.org/show_bug.cgi?id=759917
* menuitem: really ignore horizontal-paddingCosimo Cecchi2015-12-191-6/+5
| | | | | This style property has been documented as been ignored for a long time, but we were still reading it in some cases.
* iconhelper: Require passing a cssnode to the constructorBenjamin Otte2015-12-151-1/+2
| | | | Note that we don't use it yet.
* statusicon: plug memory leakCosimo Cecchi2015-12-091-0/+1
|
* iconhelper: Remove the context argumentBenjamin Otte2015-12-091-3/+1
| | | | Instead, use the widget's context.
* iconhelper: Require a widget as construction argumentBenjamin Otte2015-12-091-1/+1
| | | | | Note that the caller needs to ensure the widget lives as long as the iconhelper as the iconhelper will not ref the widget.
* statusicon: Port from iconhelper to imagedefinitionBenjamin Otte2015-12-091-47/+53
|
* iconhelper: Pass only the CssStyle when loading iconsetsBenjamin Otte2015-12-092-33/+54
|
* iconfactory: Move private functions into private headerBenjamin Otte2015-12-094-5/+28
|
* css: Leftover renaming gtk-image-effect => icon-effectBenjamin Otte2015-12-041-1/+1
| | | | The previous renaming commit was incomplete, so here we go again.
* iconfactory: Drop caching infrastructureBenjamin Otte2015-12-042-325/+0
| | | | | | | | - icon sets are essentially unused - the icon theme does caching - this code complicates the restructuring I'm about to do => Delete it!
* css: Query icon theme from style, not from settingsBenjamin Otte2015-12-022-6/+7
| | | | | No need to look at the settings when the CSS has a property for the icon theme.
* css: Rename -gtk-image-effect to -gtk-icon-effectBenjamin Otte2015-12-021-10/+10
| | | | This is a property for icons, so we should name it as such.
* Stop using gtk_icon_size_lookup_for_settings()Benjamin Otte2015-12-021-3/+1
| | | | Use the equivalent gtk_icon_size_lookup() instead.
* iconfactory: Make state depend on image-effectBenjamin Otte2015-12-021-20/+19
| | | | | | | | This removes the dependency on state, which should be used for selection CSS styles, not for actually applying them. And image-effect does exactly what we want already, so we can start using it.
* statusicon: Use gtk_icon_helper_load_surface()Benjamin Otte2015-12-021-1/+4
| | | | This is in preparation for the next commit.
* dnd: Split GtkDragSourceSite into its own fileBenjamin Otte2015-11-251-0/+1
|
* Don't use g_slist_next in gtkstock.cMatthias Clasen2015-10-201-2/+2
| | | | We generally use ->next directly.
* Don't use g_slist_next in gtkiconfactory.cMatthias Clasen2015-10-201-10/+10
| | | | We generally use ->next directly.
* gtk: Stop setting GDK_EXPOSURE_MASK on random widgetsAlexander Larsson2015-09-143-5/+2
| | | | | | | | | | | | | | These days exposure happens only on the native windows (generally the toplevel window) and is propagated down recursively. The expose event is only useful for backwards compat, and in fact, for double buffered widgets we totally ignore the event (and non-double buffering breaks on wayland). So, by not setting the mask we avoid emitting these events and then later ignoring them. We still keep it on eventbox, fixed and layout as these are used in weird ways that want backwards compat.
* Use g_object_get_qdata instead of g_object_get_dataMatthias Clasen2015-09-121-5/+9
| | | | This is less expensive.
* toggle action: Remove an unused variableMatthias Clasen2015-09-061-2/+0
|
* Code cleanupMatthias Clasen2015-07-312-9/+4
| | | | | | Use g_slist_free_full more consistently. This commit just converts the obvious cases where g_slist_forall is directly followed by g_slist_free.
* gtkimagemenuitem: improve the replacement docs even moreStefan Sauer2015-07-201-1/+1
| | | | | Since the stock strings usually have menmosics suggest gtk_menu_item_new_with_mnemonic().
* gtkimagemenuitem: fix suggestion for replacementStefan Sauer2015-07-201-1/+1
| | | | | gtk_menu_item_new(9 would create an empty menu item. While the stock deprecation aims to unclutter the menus, I feel this goes too far.
* Added an additional explanation and code snippet for GtkImageMenuItem.cEric Williams2015-07-081-0/+29
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752093
* Added a more meaningful description for /deprecated/gtkimagemenuitem.cEric Williams2015-07-081-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=752088
* docs: Drop deprecated symbolic icon namesEmmanuele Bassi2015-07-041-2/+1
| | | | Do not suggest using icons that do not exist.
* Fix a typoMatthias Clasen2015-06-201-1/+1
| | | | | gtk-doc complained about a multi-line Since: tag, but the real culprit was a typo in the Deprecated: tag.
* Drop an unused variableMatthias Clasen2015-06-131-83/+0
|
* docs: Improve deprecation notices for GtkMiscEmmanuele Bassi2015-06-111-0/+37
| | | | | | Point to the replacement properties and functions. https://bugzilla.gnome.org/show_bug.cgi?id=750718
* docs: Improve deprecation notices for GtkImageMenuItem propertiesEmmanuele Bassi2015-06-111-4/+6
| | | | | | | Should help porting code away from the deprecated GtkImageMenuItem class. https://bugzilla.gnome.org/show_bug.cgi?id=750718
* docs: Add deprecation notices for GtkAlignment propertiesEmmanuele Bassi2015-06-111-0/+44
| | | | | | | We want people to port their code away from deprecated classes, and this helps finding a replacement. https://bugzilla.gnome.org/show_bug.cgi?id=750718
* Fix compiler warningsMatthias Clasen2015-06-025-24/+18
| | | | Fix warnings due to -Wdeclaration-after-statement and -Wshadow.
* Amend deprecation warnings for GtkStyle APIEmmanuele Bassi2015-05-141-28/+28
| | | | | | Not everything has a replacement in the API, as the drawing model changed considerably; nevertheless, this should help out developers porting from the deprecated GtkStyle API.
* Avoid some clang compiler warningsMatthias Clasen2015-03-224-8/+8
| | | | | | Avoid some compiler warnings from clang in deprecated code. Most of these are around our habit of using -1 as an 'unset' value for enumerations.
* cssvalue: Remove GtkCssDependenciesBenjamin Otte2015-03-183-16/+7
| | | | They are not used anymore.
* Improve some GtkStock deprecation notesMatthias Clasen2015-03-051-2/+2
| | | | Point at edit-delete and edit-paste as available icons.