Commit Graph

46 Commits

Author SHA1 Message Date
rbuj 17ccb4f4bd Use a blank line at most 2021-11-20 21:45:51 +01:00
rbuj 9d70203167 Fix build warnings about missing field initializer 2021-11-11 19:49:25 +01:00
rbuj e50a1907e0 build: allow users to disable gettext support (--disable-nls) 2021-02-16 14:07:47 +01:00
rbuj 05b19376ea Use G_BEGIN_DECLS/G_END_DECLS macros 2020-12-04 22:16:45 +01:00
rbuj df6ee37b38 Remove unused macros 2020-07-20 11:49:44 +02:00
rbuj b43972d86c typing-break: Remove warning ‘GTimeVal’ is deprecated 2020-03-11 10:53:51 +01:00
rbuj 7419ff0f54 remove warnings: function declaration isn’t a prototype 2020-03-10 21:13:18 +01:00
rbuj 7409da3ec2 build: use warning flags 2020-02-06 00:37:40 +01:00
Pablo Barciela 789397d8b1 avoid redundant redeclarations 2019-12-05 20:27:03 +01:00
rbuj 66368a189d Remove trailing whitespaces
find . -regextype posix-extended -regex '.*\.(c|h|ac)' -exec sed --in-place 's/[[:space:]]\+$//' {} \+
2019-06-18 10:07:19 +02:00
Wu Xiaotian 6da8d44996 typing-break: avoid deprecated 'g_type_class_add_private' 2019-05-16 11:46:52 +02:00
Wu Xiaotian c6c1db0897 typing-break: replace deprecated gdk_error_trap functions 2018-11-19 18:44:13 +01:00
Victor Kareh 8c4ebefaff typing-break: Make images larger and load as surface 2018-08-25 21:35:31 -04:00
Pablo Barciela 17b20172c5 avoid deprecated GtkStock 2018-02-12 14:03:07 +01:00
monsta 2be32a5553 require GTK+ 3.22 and GLib 2.50 2018-01-30 20:11:14 +01:00
Pablo Barciela 9aa60ce09b drop unused variables 2018-01-13 23:31:54 +01:00
Pablo Barciela 8d737c695f WidthOfScreen and HeightOfScreen implementation
This commit reverts:

fe782c6732
061f3780a3

And it applies an alternative to fix the deprecated functions:

gdk_screen_get_width
gdk_screen_get_height

gdk_screen_width
gdk_screen_height
2017-12-20 20:47:45 +01:00
ZenWalker 1b565937c1 gtk 3.22: avoid deprecated gdk_screen_get_monitor... functions:
avoid deprecated:

gdk_screen_get_monitor_geometry
gdk_screen_get_monitor_at_window
2017-08-19 18:29:56 +02:00
ZenWalker 061f3780a3 avoid deprecated gdk_screen_get_width/height 2017-08-15 17:20:58 +02:00
raveit65 976cbe77d2 typing-break: avoid deprecated GDK pointer and keyboard types 2017-08-15 10:52:56 +02:00
ZenWalker 3c9a2f357f avoid deprecated gdk_display_get_screen and gdk_display_get_n_screens 2017-08-01 16:29:45 +02:00
raveit65 cbab3221ad typing-break: avoid deprecated GtkMisc
- replace gtk_misc_get_alignment ()
- replace gtk_misc_get_padding ()
2017-07-14 23:31:08 +02:00
raveit65 8c51b01399 typing-break: avoid deprecated gtk_alignment_new () 2017-07-14 23:31:08 +02:00
monsta 0c27d18ab5 move to GTK+3 (>= 3.14), drop GTK+2 code and --with-gtk build option
and require libmatekbd, libmate-desktop, marco, m-s-d >= 1.17
2016-12-02 00:50:14 +03:00
monsta 73bc9f672f [GTK+3] don't set x/y align to 0.5 - it's the default value anyway 2016-02-04 14:08:33 +03:00
Wolfgang Ulbrich 9c22af1831 GTK3: improve GtkMisc deprecation commit 2016-01-26 13:00:17 +01:00
monsta 3e1249a7c4 [GTK+3] typing-break: fix deprecated usage of GtkMisc, GtkHBox, GtkVBox 2016-01-15 13:26:42 +03:00
monsta 546a147cde typing-break: use gtk_image_new_from_icon_name in both GTK+ builds 2016-01-15 11:19:52 +03:00
monsta 7d1067354a typing-break: less #if's 2016-01-13 15:33:26 +03:00
monsta c640230c14 typing-break: remove unused variable 2016-01-13 15:29:00 +03:00
monsta 64bb26efc1 typing-break: fix indent a bit 2016-01-13 15:21:22 +03:00
Roy Zhang b2ac477cd5 Use GDK convenient function
Use gdk_x11_get_xatom_by_name (), and take advantage of GDK's caches.
2015-12-22 21:52:27 +08:00
infirit 7eb6a8115e typing break: Remove forgotten bits
This should have been in 2208d0af94
2015-07-15 15:32:31 +02:00
infirit 2208d0af94 Replace Gdk drawing with Cairo 2015-07-12 19:44:26 +02:00
Monsta bfdf1a69c0 typing-break: use mate_gdk_spawn_command_line_on_screen always
Closes https://github.com/mate-desktop/mate-control-center/pull/139
2015-01-13 12:02:15 +01:00
monsta 93581becbe zero-init signals array 2014-11-28 09:20:42 +01:00
infirit 469b3c47fc Cleanup GTK_CHECK_VERSION and unify where possible
gdk_display_get_default | since 2.2
gdk_x11_display_get_xdisplay | since 2.2
gdk_drag_context_list_targets | since 2.22
gdk_x11_window_foreign_new_for_display | since 2.24
gdk_drawable_get_screen | since 2.24
gtk_widget_hide | always
2014-05-27 16:30:06 +02:00
infirit ee1b275f63 Drop support for glib < 2.36 2014-05-20 19:05:38 +02:00
Stefano Karapetsas b985a79dbd typing-break: Fix define 2014-02-04 20:24:21 +01:00
Stefano Karapetsas 6965a1269b typing-break: Add GTK3 support 2014-02-04 19:20:19 +01:00
Stefano Karapetsas 9b69f6561d migrate typing-break to gsettings 2012-10-22 16:38:29 +02:00
Steve Zesch b1c431a5d7 Fixed incorrect fsf address. 2012-08-02 21:04:59 -04:00
Perberos 006e3abdc5 rename typing-monitor icon to mate-typing-monitor (https://github.com/mate-desktop/mate-control-center/issues/6) 2012-05-03 17:04:03 -03:00
Perberos 965137904e removing autogenerated files 2012-01-26 17:37:04 -03:00
Perberos 8e68aa4f36 removing deprecated GDK_DISPLAY() 2011-12-08 04:01:38 -03:00
Perberos 0b0e6bc987 moving from https://github.com/perberos/mate-desktop-environment 2011-12-01 21:51:44 -03:00