summaryrefslogtreecommitdiff
path: root/libmate-desktop
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-06-01 10:56:39 +0300
committermonsta <[email protected]>2016-06-01 10:56:39 +0300
commit5808c1c34efda05e0084e5c6b237ec8076a744bf (patch)
tree4e6a73538178140c9e8cd42ab0eeb36dd094ad5c /libmate-desktop
parentb0c82883b1b8af2d0b727c39c099fac7c9445cc0 (diff)
downloadmate-desktop-5808c1c34efda05e0084e5c6b237ec8076a744bf.tar.bz2
mate-desktop-5808c1c34efda05e0084e5c6b237ec8076a744bf.tar.xz
remove usage of win32-related #define's
Diffstat (limited to 'libmate-desktop')
-rw-r--r--libmate-desktop/mate-colorsel.c2
-rw-r--r--libmate-desktop/mate-desktop-utils.c5
2 files changed, 1 insertions, 6 deletions
diff --git a/libmate-desktop/mate-colorsel.c b/libmate-desktop/mate-colorsel.c
index efa7d8f..5b096b7 100644
--- a/libmate-desktop/mate-colorsel.c
+++ b/libmate-desktop/mate-colorsel.c
@@ -1956,7 +1956,7 @@ key_press (GtkWidget *invisible,
return TRUE;
-#if defined GDK_WINDOWING_X11 || defined GDK_WINDOWING_WIN32
+#if defined GDK_WINDOWING_X11
case GDK_KEY_Up:
case GDK_KEY_KP_Up:
dy = state == GDK_MOD1_MASK ? -BIG_STEP : -1;
diff --git a/libmate-desktop/mate-desktop-utils.c b/libmate-desktop/mate-desktop-utils.c
index 6043f36..99eef35 100644
--- a/libmate-desktop/mate-desktop-utils.c
+++ b/libmate-desktop/mate-desktop-utils.c
@@ -70,7 +70,6 @@ hls_to_rgb (gdouble *h,
void
mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv)
{
-#ifndef G_OS_WIN32
char **real_argv;
int real_argc;
int i, j;
@@ -176,10 +175,6 @@ mate_desktop_prepend_terminal_to_vector (int *argc, char ***argv)
/* we use g_free here as we sucked all the inner strings
* out from it into real_argv */
g_free (term_argv);
-#else
- /* FIXME: Implement when needed */
- g_warning ("mate_prepend_terminal_to_vector: Not implemented");
-#endif
}
/**