diff --git a/widget/gtk/nsWindow.cpp b/widget/gtk/nsWindow.cpp index b64fc87a946bc..e79d821a5c665 100644 --- a/widget/gtk/nsWindow.cpp +++ b/widget/gtk/nsWindow.cpp @@ -5293,12 +5293,10 @@ static GdkCursor* get_gtk_cursor(nsCursor aCursor) { if (!gdkcursor) newType = MOZ_CURSOR_SPINNING; break; case eCursor_zoom_in: - gdkcursor = gdk_cursor_new_from_name(defaultDisplay, "zoom-in"); - if (!gdkcursor) newType = MOZ_CURSOR_ZOOM_IN; + newType = MOZ_CURSOR_ZOOM_IN; break; case eCursor_zoom_out: - gdkcursor = gdk_cursor_new_from_name(defaultDisplay, "zoom-out"); - if (!gdkcursor) newType = MOZ_CURSOR_ZOOM_OUT; + newType = MOZ_CURSOR_ZOOM_OUT; break; case eCursor_not_allowed: gdkcursor = gdk_cursor_new_from_name(defaultDisplay, "not-allowed");