summaryrefslogtreecommitdiff
path: root/libmate-desktop/mate-bg.c
AgeCommit message (Collapse)AuthorFilesLines
2022-08-15mate-bg: fix -Wsign-compare warningrbuj1-1/+1
2021-12-11Use a blank line at mostrbuj1-9/+0
2021-06-21update copyright to 2021raveit651-0/+1
2021-03-29Remove shadow warnings [-Wshadow]rbuj1-4/+4
2021-02-27Remove warning -Wbad-function-castrbuj1-1/+3
2021-02-08g_settings_get_string always returns a newly-allocated stringrbuj1-10/+4
2020-03-03mate-bg: remove warning function declaration isn’t a prototyperbuj1-1/+1
2020-03-03Remove warnings: cast between incompatible function typesrbuj1-4/+1
2020-02-16Remove GTimeVal deprecation warning for GLib 2.61.2+rbuj1-1/+15
2020-01-09Increase the size of thumbnails to 256William Jon McCann1-1/+3
origin commit: https://gitlab.gnome.org/GNOME/gnome-desktop/commit/c587265
2019-03-25mate-bg: Fix memory leakPablo Barciela1-0/+2
Fixes Clang static analyzer warning: mate-bg.c:2764:2: warning: Potential leak of memory pointed to by 'size' g_queue_push_tail (parser->stack, g_strdup (name)); ^~~~~~~~~~~~~~~~~
2019-01-09mate-bg: avoid deprecated 'g_settings_list_keys'Pablo Barciela1-3/+7
2018-12-12mate-bg: Corrected some commentsZhang Xianwei1-3/+3
There are some incorrect comments in mate_bg_create_surface_scale. Fix them. Signed-off-by: Zhang Xianwei <[email protected]>
2018-08-15mate-bg: replace deprecated gdk_error_trap_push/popraveit651-4/+8
2018-04-25Support background fallback on HiDPIVictor Kareh1-2/+36
This change is a super hacky way of supporting the fallback desktop background (without caja) on HiDPI displays. It does this by doing two things: providing a function for scaled-up background surfaces using cairo_scale; and triggering a change signal when the entire background schema is re-loaded, and so triggering a redraw.
2018-01-27building: remove < gtk+-3.22 bits and bump required gtk+ versionraveit651-18/+0
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela1-8/+4
This commit reverts: https://github.com/mate-desktop/mate-desktop/commit/6137212bce120c9eb5555ae777fc7fea2f71e43e And it applies an alternative to fix the deprecated functions: gdk_screen_get_width gdk_screen_get_height
2017-08-17gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker1-0/+8
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-16avoid deprecated gdk_screen_get_width/heightZenWalker1-4/+8
2017-08-05avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+15
2017-08-05avoid deprecated gdk_screen_get_numberZenWalker1-7/+7
2017-03-12Avoid deprecated gdk_window_set_background functionsAlexei Sorokin1-15/+22
Allows to fix backgrounds in Caja and fixes fading. These changes somewhat break API behavior.
2017-02-02mate-bg: Fix solid colorsAlexei Sorokin1-3/+3
2017-02-02mate-bg: Avoid possible X11 data leaksAlexei Sorokin1-13/+23
2016-11-20move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build optionmonsta1-203/+0
2016-10-18GTK+-2: fix fontcolor for dark bg in cajaraveit651-0/+6
Fixes https://github.com/mate-desktop/mate-desktop/issues/237
2016-07-02GTK+-3 mate-bg: fix gradiant color creationraveit651-0/+6
credits to Alexei Sorokin
2016-07-02GTK+-3 mate-bg: Don't use C99 declarationsraveit651-4/+5
It's not really necessary. taken from: https://git.gnome.org/browse/gnome-desktop/commit/?h=gnome-3-6&id=2738c5c
2016-07-02GTK+-3 mate-bg: have pixbuf_average_value return GdkRGBAraveit651-0/+33
Now that we have a proper type for RGBA values, we should use it (instead of packing the four components into a uint32). https://bugzilla.gnome.org/show_bug.cgi?id=671750 taken from: https://git.gnome.org/browse/gnome-desktop/commit/?h=gnome-3-4&id=0f60413
2016-07-02GTK+3 mate-bg: port GdkColor to GdkRGBAraveit651-4/+81
2016-05-31mate-bg: remove unneeded ignore-pending-change propertymonsta1-16/+1
it's not used anymore since this Caja fix: https://github.com/mate-desktop/caja/commit/c74212b4630767b3b11b41cb26a8df20090096f4
2016-05-18Backgrounds: Take EXIF rotation tags into considerationClement Lefebvre1-1/+6
When loading a picture to render it as desktop background, consider the presence of a rotation tag to display the picture properly. Ported from https://github.com/linuxmint/cinnamon-desktop/commit/0a5f072befd97b6282a8cff71f0e184becf538b8
2015-07-30Add annotations and fix documentation syntax warningsinfirit1-4/+4
2015-07-30mate-bg: remove unused GdkScreen* argumentsinfirit1-7/+5
The GdkScreen* was being passed into some functions that weren't using it at all. Remove those extra arguments.
2015-07-24bg: objects without a filename are not slideshowsMonsta1-0/+3
from https://github.com/GNOME/gnome-desktop/commit/e19df898281f83aa6db3d8fe57c720b29d98abee
2015-07-24bg slideshow: fix crash when system date is earlier than start dateMonsta1-1/+1
from https://github.com/GNOME/gnome-desktop/commit/d7cc5dadc3831b149bab1cd3e4af50e441546c2e
2015-07-21bg slideshow: smarter check for NULL pointersMonsta1-1/+15
2015-07-20Revert "changed checking for NULL a bit"raveit651-6/+1
This reverts commit 48df7a0c71a2df4050abae40ec9ca2b35dee7988. The commit causes a regression with timing xml background. see https://github.com/mate-desktop/mate-control-center/issues/159
2014-11-28Fix warning and remove unused variableinfirit1-2/+0
2014-11-28Add support for GObjectIntrospectioninfirit1-4/+14
Turned all GnomeRR structures into boxed types, then added the needed annotations and the Makefile.am bits. Does not yet include API changes, but should bind (awfully) all of libgnome-desktop. Based on gnome commit: cad94246fb5be76482212407a380cd75f9e7b932 url: https://git.gnome.org/browse/gnome-desktop/commit/?id=cad94246fb5be76482212407a380cd75f9e7b932
2014-11-28changed checking for NULL a bitMonsta1-1/+6
the code below clearly assumes that slide should never be NULL, so the check is now done via g_return_if_fail Closes https://github.com/mate-desktop/mate-desktop/pull/143
2014-11-28va_start should be paired with va_endmonsta1-0/+2
Closes https://github.com/mate-desktop/mate-desktop/pull/137
2014-05-04Fix unused var warningStefano Karapetsas1-2/+2
2014-03-07Revert "gtk3: GdkRGBA support"Stefano Karapetsas1-347/+18
This reverts commit e95d24559060365eb4fee8154ad82434bf3c8a0a.
2014-03-07Revert "gtk3: mate_bg_create*thumbnail should return GdkPixbuf*"Stefano Karapetsas1-12/+18
This reverts commit 0eef05307bd0c2acb5c780b8f85a239ca810625d.
2014-02-28gtk3: mate_bg_create*thumbnail should return GdkPixbuf*Denis Gorodnichev1-18/+12
this functions are used at mate-control-center
2014-02-27gtk3: GdkRGBA supportDenis Gorodnichev1-18/+347
2013-07-24Move include files and remove old libmate and libmateui foldersStefano Karapetsas1-2/+2
2013-02-21Add check if default MATE background exists before to use itStefano Karapetsas1-2/+13
Closes https://github.com/mate-desktop/mate-settings-daemon/issues/39
2012-12-18[mate-bg] change cache dir from "wallpaper" to "mate/background"Jasmine Hassan1-1/+3