[Frontend-GNOME] Fixed syntax error for !GTK_SHARP_3 builds