summaryrefslogtreecommitdiff
path: root/libmate-desktop
AgeCommit message (Collapse)AuthorFilesLines
2019-10-31Treat time_t as gint64 to convert from/to stringOBATA Akio1-5/+7
"time_t" may not equal with "long", especiall 32-bit platforms resolved "Year 2038 problem". There are no standard way to convert time_t from/to string, but GLib2 using gint64 type as a time internally, so it is reasonable to use gint64 for such purpose.
2019-08-11Replace deprecated gtk_css_provider_get_defaultraveit651-1/+6
2019-08-11mate-bg-crossfade: replace tabs with spacesraveit652-461/+461
fixes codestyling, caused by usage of different tab size in editors.
2019-07-23mate-colorsel: avoid deprecated 'gtk_hscale_new'Pablo Barciela1-1/+1
2019-07-03Remove trailing whitespacesLaurent Napias14-588/+588
2019-06-11check both {$prefix,/usr}/share/locale dirs for translationWu Xiaotian1-15/+31
2019-06-11Add test code for mate-languages.Wu Xiaotian4-1/+115
2019-05-25build: use localedir instead of DATADIRNAMEMarty E. Plummer1-1/+1
Signed-off-by: Marty E. Plummer <[email protected]>
2019-05-22add abi checkMarty E. Plummer1-0/+247
Signed-off-by: Marty E. Plummer <[email protected]>
2019-05-22treewide: add meson buildMarty E. Plummer2-0/+151
Signed-off-by: Marty E. Plummer <[email protected]>
2019-03-25mate-desktop-thumbnail: avoid 'NULL' parameterPablo Barciela1-1/+1
Fixes Clang static analyzer warning: mate-desktop-thumbnail.c:933:54: warning: Null pointer passed as an argument to a 'nonnull' parameter g_checksum_update (checksum, (const guchar *) uri, strlen (uri)); ^~~~~~~~~~~~
2019-03-25mate-thumbnail-pixbuf-utils: Fix division by zeroPablo Barciela1-3/+9
Fixes Clang static analyzer warning: mate-thumbnail-pixbuf-utils.c:160:17: warning: Division by zero *dest++ = r / n_pixels; ~~^~~~~~~~~~
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-03-17[Security] Use 'g_strlcpy' instead of 'strcpy'Pablo Barciela2-2/+2
Fixes Clang static analyzer warnings: mate-rr-config.c:549:3: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 strcpy (output->priv->vendor, "???"); ^~~~~~ mate-desktop-item.c:2118:2: warning: Call to function 'strcpy' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcpy'. CWE-119 strcpy (the_exec, exec); ^~~~~~
2019-03-17[Security] test-ditem: Use 'g_strlcat' instead of 'strcat'Pablo Barciela1-1/+1
Fixes Clang static analyzer warning: test-ditem.c:94:2: warning: Call to function 'strcat' is insecure as it does not provide bounding of the memory buffer. Replace unbounded copy functions with analogous functions that support length arguments such as 'strlcat'. CWE-119 strcat (path, "/foo.desktop"); ^~~~~~
2019-03-15mate-hsv: avoid duplicate initialization in variablePablo Barciela1-1/+0
avoid Clang static analyzer warning: mate-hsv.c:913:19: warning: Value stored to 'priv' during its initialization is never read MateHSVPrivate *priv = hsv->priv; ^~~~ ~~~~~~~~~
2019-03-11mate-hsv: avoid deprecated 'gdk_device_grab/ungrab'Pablo Barciela1-10/+9
2019-03-11mate-colorsel: avoid deprecated 'GtkHSV', use 'MateHSV' insteadPablo Barciela1-11/+12
2019-03-11MateHSV implementation (GtkHSV fork)Pablo Barciela3-0/+1542
2019-02-07mate-colorsel: avoid deprecated 'gtk_widget_modify_bg'Pablo Barciela1-5/+26
2019-01-29[mate-rr] Avoid deprecated g_type_class_add_privateWu Xiaotian4-15/+9
2019-01-29Improve indentsWu Xiaotian1-2/+2
2019-01-29Avoid deprecated g_type_class_add_privateWu Xiaotian3-20/+6
Changed MateBgCrossfade, MateColorbutton and MateDesktopThumbnail
2019-01-29[mate-colorsel] Avoid deprecated g_type_class_add_privateWu Xiaotian2-51/+49
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-desktop-item: replace deprecated gdk_error_trap_push/popraveit651-2/+8
2018-08-15mate-rr-config: replace deprecated gdk_flushraveit651-1/+3
2018-08-15mate-rr: replace deprecated Gdk functionsraveit651-13/+23
2018-08-15mate-bg-crossfade: replace deprecated gdk_error_trap_push/popraveit651-4/+6
2018-08-15mate-bg: replace deprecated gdk_error_trap_push/popraveit651-4/+8
2018-07-03add mate-language apisyetist3-0/+1352
2018-04-25Support background fallback on HiDPIVictor Kareh2-2/+43
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-03-30mate-rr-labeler: fix font-color for dark themesraveit651-3/+3
Fixes https://github.com/ubuntu-mate/ubuntu-mate-artwork/issues/29
2018-01-27building: remove < gtk+-3.22 bits and bump required gtk+ versionraveit655-63/+1
2017-12-17WidthOfScreen and HeightOfScreen implementationPablo Barciela3-18/+9
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-26drop MateAboutDialogmonsta3-2430/+0
2017-08-17gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:ZenWalker2-0/+17
avoid deprecated: gdk_screen_get_monitor_geometry gdk_screen_get_monitor_at_point
2017-08-16avoid deprecated gdk_screen_get_width/heightZenWalker3-8/+18
2017-08-10mate-desktop-item: mate-about: avoid deprecated gtk_show_uriraveit651-0/+7
2017-08-10mate-about: avoid deprecated gtk_show_uriraveit651-0/+6
2017-08-05avoid deprecated gdk_screen_get_n_monitorsZenWalker1-0/+15
2017-08-05avoid deprecated gdk_screen_make_display_nameZenWalker1-6/+8
2017-08-05avoid deprecated gdk_screen_get_numberZenWalker2-8/+8
2017-05-05Fix broken fallback cursor in mate-colorsel.cnokangaroo1-40/+31
2017-04-27mate-colorsel: don't use deprecated GTK_STOCK_COLOR_PICKERraveit651-1/+1
2017-03-13mate-aboutdialog: Fix url is not centeredLa Ode Muh. Fadlun Akbar1-1/+1
2017-03-12Avoid deprecated gdk_window_set_background functionsAlexei Sorokin3-54/+244
Allows to fix backgrounds in Caja and fixes fading. These changes somewhat break API behavior.
2017-02-25mate-bg: force property update when doing new crossfade frameRay Strode1-0/+15
marco needs to get notified about animation updates. This commit frobs the property to wake marco up. https://bugzilla.gnome.org/show_bug.cgi?id=641526
2017-02-10colorsel: port to GtkGridraveit651-30/+31