summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}
/**